Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
shamtree::impl Namespace Reference

namespace to control implementation behavior More...

Classes

struct  Reference
 Naive reference CPU implementation of the dual tree traversal. More...
struct  ParallelSelect
 Parallel-select implementation of the dual tree traversal. More...
struct  ScanMultipass
 Scan-multipass implementation of the dual tree traversal. More...

Functions

 SHAMALGS_REGISTER_IMPL (dtt_impl_name, dtt_impl)

Variables

constexpr std::string_view dtt_impl_name = "clbvh_dual_tree_traversal"
 Registry name, shared by its registration and the dispatch site(s).
shamalgs::ImplVariantGlobal< Reference, ParallelSelect, ScanMultipass > dtt_impl
 Currently selected dual tree traversal implementation.

Detailed Description

namespace to control implementation behavior

Variable Documentation

◆ dtt_impl

Initial value:
{
[](const sham::DeviceScheduler_ptr &, auto &self) {
self.set(ScanMultipass{});
}}
Scan-multipass implementation of the dual tree traversal.

Currently selected dual tree traversal implementation.

Definition at line 48 of file CLBVHDualTreeTraversal.cpp.

◆ dtt_impl_name

std::string_view shamtree::impl::dtt_impl_name = "clbvh_dual_tree_traversal"
constexpr

Registry name, shared by its registration and the dispatch site(s).

Definition at line 45 of file CLBVHDualTreeTraversal.cpp.