#include <AMReX_Reduce.H>
Public Types | |
using | Type = GpuTuple< Ts... > |
Public Member Functions | |
template<typename... Ps> | |
ReduceData (ReduceOps< Ps... > &reduce_op) | |
~ReduceData () | |
ReduceData (ReduceData< Ts... > const &)=delete | |
ReduceData (ReduceData< Ts... > &&)=delete | |
void | operator= (ReduceData< Ts... > const &)=delete |
void | operator= (ReduceData< Ts... > &&)=delete |
Type | value () |
template<typename... Ps> | |
Type | value (ReduceOps< Ps... > &reduce_op) |
Type * | devicePtr () |
Type * | devicePtr (gpuStream_t const &s) |
Type * | hostPtr () |
GpuArray< int, AMREX_GPU_MAX_STREAMS > & | nBlocks () |
int & | nBlocks (gpuStream_t const &s) |
int | maxBlocks () const |
int | maxStreamIndex () const |
void | updateMaxStreamIndex (gpuStream_t const &s) |
Private Attributes | |
int | m_max_blocks |
int | m_max_stream_index = 0 |
Type * | m_host_tuple = nullptr |
Type * | m_device_tuple = nullptr |
GpuArray< int, AMREX_GPU_MAX_STREAMS > | m_nblocks |
std::function< Type()> | m_fn_value |
using amrex::ReduceData< Ts >::Type = GpuTuple<Ts...> |
|
inlineexplicit |
|
inline |
|
delete |
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
delete |
|
delete |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |