#include "shambackends/sycl.hpp"
#include <memory>
Go to the source code of this file.
|
| enum | SortImplType { MultiKernel
} |
| |
|
| template<class u_morton , SortImplType impl = MultiKernel> |
| void | sycl_sort_morton_key_pair (sycl::queue &queue, u32 morton_count_rounded_pow, std::unique_ptr< sycl::buffer< u32 > > &buf_index, std::unique_ptr< sycl::buffer< u_morton > > &buf_morton) |
| | sort morton code and generate remap table
|
| |
◆ SortImplType
◆ sycl_sort_morton_key_pair()
template<class u_morton , SortImplType impl = MultiKernel>
| void sycl_sort_morton_key_pair |
( |
sycl::queue & |
queue, |
|
|
u32 |
morton_count_rounded_pow, |
|
|
std::unique_ptr< sycl::buffer< u32 > > & |
buf_index, |
|
|
std::unique_ptr< sycl::buffer< u_morton > > & |
buf_morton |
|
) |
| |
sort morton code and generate remap table
- Template Parameters
-
- Parameters
-
| queue | sycl queue |
| morton_count_rounded_pow | morton codes count (equal to a power of 2) |
| buf_index | buffer countaining the index map corresponding to the sorting |
| buf_morton | morton buffer that will be sorted |