![]() |
Shamrock 2025.10.0
Astrophysical Code
|
A variant of sham::MultiRef for distributed data.
More...
#include <shambackends/include/shambackends/kernel_call_distrib.hpp>
Public Types | |
| using | storage_t = std::tuple< Targ &... > |
| A tuple of references to the buffers. | |
Public Member Functions | |
| DDMultiRef (Targ &...arg) | |
| Constructor. | |
| auto | get (u64 id) |
| Get a MultiRef at a given id. | |
Public Attributes | |
| storage_t | storage |
| A tuple of references to the buffers. | |
A variant of sham::MultiRef for distributed data.
This class is a drop-in replacement for sham::MultiRef but adapted to work with distributed data.
Definition at line 33 of file kernel_call_distrib.hpp.
| using sham::DDMultiRef< Targ >::storage_t = std::tuple<Targ &...> |
A tuple of references to the buffers.
Definition at line 35 of file kernel_call_distrib.hpp.
|
inline |
Constructor.
Definition at line 41 of file kernel_call_distrib.hpp.
|
inline |
Get a MultiRef at a given id.
This function returns a MultiRef of the buffers at the given id.
| id | The id of the patch for which to get the MultiRef. |
Definition at line 51 of file kernel_call_distrib.hpp.
Here is the call graph for this function:| storage_t sham::DDMultiRef< Targ >::storage |
A tuple of references to the buffers.
Definition at line 38 of file kernel_call_distrib.hpp.