Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
shamtree::LeafCellIterator Struct Reference
+ Collaboration diagram for shamtree::LeafCellIterator:

Public Types

using acc = LeafCellIteratorAccessed
 

Public Member Functions

acc get_read_access (sham::EventList &deps) const
 Get a read-only access to the buffers.
 
void complete_event_state (sycl::event e) const
 Completes the event state for the associated buffers.
 

Public Attributes

const sham::DeviceBuffer< u32 > & buf_sort_index_map
 Sort index map buffer.
 
const sham::DeviceBuffer< u32 > & buf_reduc_index_map
 Reduction index map buffer.
 

Detailed Description

Definition at line 61 of file LeafCellIterator.hpp.

Member Typedef Documentation

◆ acc

Definition at line 65 of file LeafCellIterator.hpp.

Member Function Documentation

◆ complete_event_state()

void shamtree::LeafCellIterator::complete_event_state ( sycl::event  e) const
inline

Completes the event state for the associated buffers.

Parameters
[in]eThe SYCL event to register for the buffers.

This function registers the provided SYCL event in the event state of both buf_sort_index_map and buf_reduc_index_map, indicating that the event has been completed for these buffers.

Definition at line 92 of file LeafCellIterator.hpp.

+ Here is the call graph for this function:

◆ get_read_access()

acc shamtree::LeafCellIterator::get_read_access ( sham::EventList deps) const
inline

Get a read-only access to the buffers.

Parameters
[in]depsEvent list to register the access in.
Returns
A structure containing const pointers to the buffers.

This function returns a struct containing const pointers to the buf_sort_index_map and buf_reduc_index_map buffers. The access is registered in the deps event list.

Definition at line 77 of file LeafCellIterator.hpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ buf_reduc_index_map

const sham::DeviceBuffer<u32>& shamtree::LeafCellIterator::buf_reduc_index_map

Reduction index map buffer.

Definition at line 63 of file LeafCellIterator.hpp.

◆ buf_sort_index_map

const sham::DeviceBuffer<u32>& shamtree::LeafCellIterator::buf_sort_index_map

Sort index map buffer.

Definition at line 62 of file LeafCellIterator.hpp.


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