Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
MortonKernels.hpp File Reference
Include dependency graph for MortonKernels.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  shamrock::sfc::MortonKernels< morton_t, _pos_t, dim >

Namespaces

namespace  shamrock
 namespace for the main framework

Functions

template<class morton_t>
void shamrock::sfc::details::sycl_fill_trailling_buffer (sycl::queue &queue, u32 morton_count, u32 fill_count, std::unique_ptr< sycl::buffer< morton_t > > &buf_morton)
 fill the end of a buffer (indices from morton_count up to fill_count-1) with error values (maximum int value)

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 MortonKernels.hpp.

Function Documentation

◆ sycl_fill_trailling_buffer()

template<class morton_t>
void shamrock::sfc::details::sycl_fill_trailling_buffer ( sycl::queue & queue,
u32 morton_count,
u32 fill_count,
std::unique_ptr< sycl::buffer< morton_t > > & buf_morton )

fill the end of a buffer (indices from morton_count up to fill_count-1) with error values (maximum int value)

Parameters
queuesycl queue
morton_countlength of the morton buffer
fill_countfinal length to be filled with error value
buf_mortonmorton buffer that will be updated