![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Collaboration diagram for SerialPatchTree< fp_prec_vec >:Public Types | |
| using | PtNode = shamrock::scheduler::SerialPatchNode< fp_prec_vec > |
| using | PatchTree = shamrock::scheduler::PatchTree |
Public Member Functions | |
| void | attach_buf () |
| void | detach_buf () |
| void | print_status () |
| SerialPatchTree (PatchTree &ptree, const shamrock::patch::PatchCoordTransform< fp_prec_vec > box_transform) | |
| template<class Acc1 , class Acc2 > | |
| void | host_for_each_leafs_internal (std::function< bool(u64, PtNode pnode)> interact_cd, std::function< void(u64, PtNode)> found_case, Acc1 &&tree, Acc2 &&lpid) |
| void | host_for_each_leafs (std::function< bool(u64, PtNode pnode)> interact_cd, std::function< void(u64, PtNode)> found_case) |
| const u32 & | get_level_count () |
| accesor to the number of level in the tree | |
| u32 | get_element_count () |
| accesor to the number of element in the tree | |
| template<class type , class reduc_func > | |
| PatchFieldReduction< type > | reduce_field (sycl::queue &queue, PatchScheduler &sched, legacy::PatchField< type > &pfield) |
| template<class T , class Func > | |
| shamrock::patch::PatchtreeField< T > | make_patch_tree_field (PatchScheduler &sched, sycl::queue &queue, shamrock::patch::PatchField< T > pfield, Func &&reducer) |
| void | dump_dat () |
| sycl::buffer< u64 > | compute_patch_owner (sham::DeviceScheduler_ptr dev_sched, sham::DeviceBuffer< fp_prec_vec > &position_buffer, u32 len) |
Static Public Member Functions | |
| static SerialPatchTree< fp_prec_vec > | build (PatchScheduler &sched) |
Public Attributes | |
| u32 | root_count = 0 |
| std::unique_ptr< sycl::buffer< PtNode > > | serial_tree_buf |
| std::unique_ptr< sycl::buffer< u64 > > | linked_patch_ids_buf |
Definition at line 35 of file SerialPatchTree.hpp.
| using SerialPatchTree< fp_prec_vec >::PatchTree = shamrock::scheduler::PatchTree |
Definition at line 39 of file SerialPatchTree.hpp.
| using SerialPatchTree< fp_prec_vec >::PtNode = shamrock::scheduler::SerialPatchNode<fp_prec_vec> |
Definition at line 37 of file SerialPatchTree.hpp.
|
inline |
Definition at line 103 of file SerialPatchTree.hpp.
|
inline |
Definition at line 46 of file SerialPatchTree.hpp.
|
inlinestatic |
Definition at line 172 of file SerialPatchTree.hpp.
| sycl::buffer< u64 > SerialPatchTree< vec >::compute_patch_owner | ( | sham::DeviceScheduler_ptr | dev_sched, |
| sham::DeviceBuffer< fp_prec_vec > & | position_buffer, | ||
| u32 | len | ||
| ) |
Definition at line 342 of file SerialPatchTree.hpp.
|
inline |
Definition at line 60 of file SerialPatchTree.hpp.
|
inline |
Definition at line 312 of file SerialPatchTree.hpp.
|
inline |
accesor to the number of element in the tree
Definition at line 170 of file SerialPatchTree.hpp.
|
inline |
accesor to the number of level in the tree
Definition at line 163 of file SerialPatchTree.hpp.
|
inline |
Definition at line 147 of file SerialPatchTree.hpp.
|
inline |
Definition at line 110 of file SerialPatchTree.hpp.
|
inline |
Definition at line 267 of file SerialPatchTree.hpp.
|
inline |
Definition at line 83 of file SerialPatchTree.hpp.
|
inline |
Definition at line 178 of file SerialPatchTree.hpp.
| std::unique_ptr<sycl::buffer<u64> > SerialPatchTree< fp_prec_vec >::linked_patch_ids_buf |
Definition at line 44 of file SerialPatchTree.hpp.
| u32 SerialPatchTree< fp_prec_vec >::root_count = 0 |
Definition at line 42 of file SerialPatchTree.hpp.
| std::unique_ptr<sycl::buffer<PtNode> > SerialPatchTree< fp_prec_vec >::serial_tree_buf |
Definition at line 43 of file SerialPatchTree.hpp.