![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Collaboration diagram for shamrock.tree::TreeMortonCodes< u_morton >:Public Member Functions | |
| template<class T > | |
| void | build (sycl::queue &queue, shammath::CoordRange< T > coord_range, u32 obj_cnt, sycl::buffer< T > &pos_buf) |
| template<class T > | |
| void | build (sham::DeviceScheduler_ptr dev_sched, shammath::CoordRange< T > coord_range, u32 obj_cnt, sham::DeviceBuffer< T > &pos_buf) |
| u64 | memsize () const |
| TreeMortonCodes (const TreeMortonCodes &other) | |
| TreeMortonCodes & | operator= (TreeMortonCodes &&other) noexcept |
| bool | operator== (const TreeMortonCodes &rhs) const |
| void | serialize (shamalgs::SerializeHelper &serializer) |
| serialize a TreeMortonCodes object | |
| shamalgs::SerializeSize | serialize_byte_size () |
| give the size of the serialized object | |
Static Public Member Functions | |
| template<class T > | |
| static std::unique_ptr< sycl::buffer< u_morton > > | build_raw (sycl::queue &queue, shammath::CoordRange< T > coord_range, u32 obj_cnt, sycl::buffer< T > &pos_buf) |
| static TreeMortonCodes | deserialize (shamalgs::SerializeHelper &serializer) |
| deserialize a TreeMortonCodes object Note : here since the initial buffer is a pow of 2 with trailling terms for the bitonic sort, when deserializing we are not loading the last values the buffer size is obj_cnt here | |
Public Attributes | |
| u32 | obj_cnt |
| std::unique_ptr< sycl::buffer< u_morton > > | buf_morton |
| std::unique_ptr< sycl::buffer< u32 > > | buf_particle_index_map |
Definition at line 29 of file TreeMortonCodes.hpp.
|
inline |
Definition at line 76 of file TreeMortonCodes.hpp.
| void shamrock.tree::TreeMortonCodes< u_morton >::build | ( | sham::DeviceScheduler_ptr | dev_sched, |
| shammath::CoordRange< T > | coord_range, | ||
| u32 | obj_cnt, | ||
| sham::DeviceBuffer< T > & | pos_buf | ||
| ) |
Definition at line 46 of file TreeMortonCodes.cpp.
| void shamrock.tree::TreeMortonCodes< u_morton >::build | ( | sycl::queue & | queue, |
| shammath::CoordRange< T > | coord_range, | ||
| u32 | obj_cnt, | ||
| sycl::buffer< T > & | pos_buf | ||
| ) |
Definition at line 24 of file TreeMortonCodes.cpp.
|
static |
Definition at line 68 of file TreeMortonCodes.cpp.
|
inlinestatic |
deserialize a TreeMortonCodes object Note : here since the initial buffer is a pow of 2 with trailling terms for the bitonic sort, when deserializing we are not loading the last values the buffer size is obj_cnt here
| serializer |
Definition at line 125 of file TreeMortonCodes.hpp.
|
inline |
Definition at line 57 of file TreeMortonCodes.hpp.
|
inlinenoexcept |
Definition at line 85 of file TreeMortonCodes.hpp.
| bool shamrock.tree::TreeMortonCodes< u_morton >::operator== | ( | const TreeMortonCodes< u_morton > & | rhs | ) | const |
Definition at line 87 of file TreeMortonCodes.cpp.
|
inline |
serialize a TreeMortonCodes object
| serializer |
Definition at line 100 of file TreeMortonCodes.hpp.
Here is the call graph for this function:
|
inline |
give the size of the serialized object
Definition at line 146 of file TreeMortonCodes.hpp.
| std::unique_ptr<sycl::buffer<u_morton> > shamrock.tree::TreeMortonCodes< u_morton >::buf_morton |
Definition at line 33 of file TreeMortonCodes.hpp.
| std::unique_ptr<sycl::buffer<u32> > shamrock.tree::TreeMortonCodes< u_morton >::buf_particle_index_map |
Definition at line 34 of file TreeMortonCodes.hpp.
| u32 shamrock.tree::TreeMortonCodes< u_morton >::obj_cnt |
Definition at line 31 of file TreeMortonCodes.hpp.