Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
shamrock.tree::ObjectCache Struct Reference
+ Collaboration diagram for shamrock.tree::ObjectCache:

Classes

struct  ptrs
 
struct  ptrs_read
 

Public Member Functions

u64 get_memsize ()
 
HostObjectCache copy_to_host ()
 
ptrs_read get_read_access (sham::EventList &depends_list) const
 
ptrs get_write_access (sham::EventList &depends_list)
 
void complete_event_state (sycl::event &e) const
 
void complete_event_state (sham::EventList &resulting_events) const
 

Static Public Member Functions

static ObjectCache build_from_host (HostObjectCache &cache)
 

Public Attributes

sham::DeviceBuffer< u32cnt_neigh
 
sham::DeviceBuffer< u32scanned_cnt
 
u32 sum_neigh_cnt
 
sham::DeviceBuffer< u32index_neigh_map
 

Detailed Description

Definition at line 375 of file TreeTraversal.hpp.

Member Function Documentation

◆ build_from_host()

static ObjectCache shamrock.tree::ObjectCache::build_from_host ( HostObjectCache cache)
inlinestatic

Definition at line 395 of file TreeTraversal.hpp.

◆ complete_event_state() [1/2]

void shamrock.tree::ObjectCache::complete_event_state ( sham::EventList resulting_events) const
inline

Definition at line 449 of file TreeTraversal.hpp.

◆ complete_event_state() [2/2]

void shamrock.tree::ObjectCache::complete_event_state ( sycl::event &  e) const
inline

Definition at line 443 of file TreeTraversal.hpp.

◆ copy_to_host()

HostObjectCache shamrock.tree::ObjectCache::copy_to_host ( )
inline

Definition at line 386 of file TreeTraversal.hpp.

◆ get_memsize()

u64 shamrock.tree::ObjectCache::get_memsize ( )
inline

Definition at line 381 of file TreeTraversal.hpp.

◆ get_read_access()

ptrs_read shamrock.tree::ObjectCache::get_read_access ( sham::EventList depends_list) const
inline

Definition at line 428 of file TreeTraversal.hpp.

◆ get_write_access()

ptrs shamrock.tree::ObjectCache::get_write_access ( sham::EventList depends_list)
inline

Definition at line 436 of file TreeTraversal.hpp.

Member Data Documentation

◆ cnt_neigh

sham::DeviceBuffer<u32> shamrock.tree::ObjectCache::cnt_neigh

Definition at line 376 of file TreeTraversal.hpp.

◆ index_neigh_map

sham::DeviceBuffer<u32> shamrock.tree::ObjectCache::index_neigh_map

Definition at line 379 of file TreeTraversal.hpp.

◆ scanned_cnt

sham::DeviceBuffer<u32> shamrock.tree::ObjectCache::scanned_cnt

Definition at line 377 of file TreeTraversal.hpp.

◆ sum_neigh_cnt

u32 shamrock.tree::ObjectCache::sum_neigh_cnt

Definition at line 378 of file TreeTraversal.hpp.


The documentation for this struct was generated from the following file: