lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
Drp::Gpu::Ptr< T > Struct Template Reference

Pair of pointers of type T, one for the host and one for the device; Reducer uses it for each ring queue object and its device copy. More...

#include <MemPool.hh>

Public Attributes

T * h = nullptr
 Host pointer (null by default).
 
T * d = nullptr
 Device pointer (null by default).
 

Detailed Description

template<class T>
struct Drp::Gpu::Ptr< T >

Pair of pointers of type T, one for the host and one for the device; Reducer uses it for each ring queue object and its device copy.

Member Data Documentation

◆ d

template<class T >
T* Drp::Gpu::Ptr< T >::d = nullptr

Device pointer (null by default).

◆ h

template<class T >
T* Drp::Gpu::Ptr< T >::h = nullptr

Host pointer (null by default).


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