Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Functions
convert_ranges.cpp File Reference
#include "shambase/integer.hpp"
#include "shamtree/kernels/convert_ranges.hpp"
+ Include dependency graph for convert_ranges.cpp:

Go to the source code of this file.

Functions

template<>
void sycl_convert_cell_range< u32, f32_3 > (sycl::queue &queue, u32 leaf_cnt, u32 internal_cnt, f32_3 bounding_box_min, f32_3 bounding_box_max, std::unique_ptr< sycl::buffer< u16_3 > > &buf_pos_min_cell, std::unique_ptr< sycl::buffer< u16_3 > > &buf_pos_max_cell, std::unique_ptr< sycl::buffer< f32_3 > > &buf_pos_min_cell_flt, std::unique_ptr< sycl::buffer< f32_3 > > &buf_pos_max_cell_flt)
 
template<>
void sycl_convert_cell_range< u64, f32_3 > (sycl::queue &queue, u32 leaf_cnt, u32 internal_cnt, f32_3 bounding_box_min, f32_3 bounding_box_max, std::unique_ptr< sycl::buffer< u32_3 > > &buf_pos_min_cell, std::unique_ptr< sycl::buffer< u32_3 > > &buf_pos_max_cell, std::unique_ptr< sycl::buffer< f32_3 > > &buf_pos_min_cell_flt, std::unique_ptr< sycl::buffer< f32_3 > > &buf_pos_max_cell_flt)
 
template<>
void sycl_convert_cell_range< u32, f64_3 > (sycl::queue &queue, u32 leaf_cnt, u32 internal_cnt, f64_3 bounding_box_min, f64_3 bounding_box_max, std::unique_ptr< sycl::buffer< u16_3 > > &buf_pos_min_cell, std::unique_ptr< sycl::buffer< u16_3 > > &buf_pos_max_cell, std::unique_ptr< sycl::buffer< f64_3 > > &buf_pos_min_cell_flt, std::unique_ptr< sycl::buffer< f64_3 > > &buf_pos_max_cell_flt)
 
template<>
void sycl_convert_cell_range< u64, f64_3 > (sycl::queue &queue, u32 leaf_cnt, u32 internal_cnt, f64_3 bounding_box_min, f64_3 bounding_box_max, std::unique_ptr< sycl::buffer< u32_3 > > &buf_pos_min_cell, std::unique_ptr< sycl::buffer< u32_3 > > &buf_pos_max_cell, std::unique_ptr< sycl::buffer< f64_3 > > &buf_pos_min_cell_flt, std::unique_ptr< sycl::buffer< f64_3 > > &buf_pos_max_cell_flt)
 

Detailed Description

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file convert_ranges.cpp.

Function Documentation

◆ sycl_convert_cell_range< u32, f32_3 >()

template<>
void sycl_convert_cell_range< u32, f32_3 > ( sycl::queue &  queue,
u32  leaf_cnt,
u32  internal_cnt,
f32_3  bounding_box_min,
f32_3  bounding_box_max,
std::unique_ptr< sycl::buffer< u16_3 > > &  buf_pos_min_cell,
std::unique_ptr< sycl::buffer< u16_3 > > &  buf_pos_max_cell,
std::unique_ptr< sycl::buffer< f32_3 > > &  buf_pos_min_cell_flt,
std::unique_ptr< sycl::buffer< f32_3 > > &  buf_pos_max_cell_flt 
)

Definition at line 20 of file convert_ranges.cpp.

◆ sycl_convert_cell_range< u32, f64_3 >()

template<>
void sycl_convert_cell_range< u32, f64_3 > ( sycl::queue &  queue,
u32  leaf_cnt,
u32  internal_cnt,
f64_3  bounding_box_min,
f64_3  bounding_box_max,
std::unique_ptr< sycl::buffer< u16_3 > > &  buf_pos_min_cell,
std::unique_ptr< sycl::buffer< u16_3 > > &  buf_pos_max_cell,
std::unique_ptr< sycl::buffer< f64_3 > > &  buf_pos_min_cell_flt,
std::unique_ptr< sycl::buffer< f64_3 > > &  buf_pos_max_cell_flt 
)

Definition at line 158 of file convert_ranges.cpp.

◆ sycl_convert_cell_range< u64, f32_3 >()

template<>
void sycl_convert_cell_range< u64, f32_3 > ( sycl::queue &  queue,
u32  leaf_cnt,
u32  internal_cnt,
f32_3  bounding_box_min,
f32_3  bounding_box_max,
std::unique_ptr< sycl::buffer< u32_3 > > &  buf_pos_min_cell,
std::unique_ptr< sycl::buffer< u32_3 > > &  buf_pos_max_cell,
std::unique_ptr< sycl::buffer< f32_3 > > &  buf_pos_min_cell_flt,
std::unique_ptr< sycl::buffer< f32_3 > > &  buf_pos_max_cell_flt 
)

Definition at line 89 of file convert_ranges.cpp.

◆ sycl_convert_cell_range< u64, f64_3 >()

template<>
void sycl_convert_cell_range< u64, f64_3 > ( sycl::queue &  queue,
u32  leaf_cnt,
u32  internal_cnt,
f64_3  bounding_box_min,
f64_3  bounding_box_max,
std::unique_ptr< sycl::buffer< u32_3 > > &  buf_pos_min_cell,
std::unique_ptr< sycl::buffer< u32_3 > > &  buf_pos_max_cell,
std::unique_ptr< sycl::buffer< f64_3 > > &  buf_pos_min_cell_flt,
std::unique_ptr< sycl::buffer< f64_3 > > &  buf_pos_max_cell_flt 
)

Definition at line 227 of file convert_ranges.cpp.