![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Include dependency graph for karras_alg.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| template<class u_morton > | |
| void | sycl_karras_alg (sycl::queue &queue, u32 internal_cell_count, sycl::buffer< u_morton > &in_morton, sycl::buffer< u32 > &out_buf_lchild_id, sycl::buffer< u32 > &out_buf_rchild_id, sycl::buffer< u8 > &out_buf_lchild_flag, sycl::buffer< u8 > &out_buf_rchild_flag, sycl::buffer< u32 > &out_buf_endrange) |
| Karras 2012 algorithm with addition endrange buffer. | |
Definition in file karras_alg.hpp.
| void sycl_karras_alg | ( | sycl::queue & | queue, |
| u32 | internal_cell_count, | ||
| sycl::buffer< u_morton > & | in_morton, | ||
| sycl::buffer< u32 > & | out_buf_lchild_id, | ||
| sycl::buffer< u32 > & | out_buf_rchild_id, | ||
| sycl::buffer< u8 > & | out_buf_lchild_flag, | ||
| sycl::buffer< u8 > & | out_buf_rchild_flag, | ||
| sycl::buffer< u32 > & | out_buf_endrange | ||
| ) |
Karras 2012 algorithm with addition endrange buffer.
Given a list of morton codes, compute the left and right child id, left and right child flag, and the endrange for each cell using the Karras 2012 algorithm.
| [in] | queue | sycl queue |
| [in] | internal_cell_count | number of internal cells |
| [in] | in_morton | input morton codes |
| [out] | out_buf_lchild_id | left child id |
| [out] | out_buf_rchild_id | right child id |
| [out] | out_buf_lchild_flag | left child flag |
| [out] | out_buf_rchild_flag | right child flag |
| [out] | out_buf_endrange | endrange |