this class provides wrappers to the generic carma host object
More...
#include <carma_host_obj.h>
|
| CarmaHostObj (const long *dims_data) |
|
| CarmaHostObj (const long *dims_data, MemAlloc malloc_type) |
|
| CarmaHostObj (const CarmaHostObj< T_data > *obj) |
|
| CarmaHostObj (const CarmaHostObj< T_data > *obj, MemAlloc malloc_type) |
|
| CarmaHostObj (const long *dims_data, const T_data *data) |
|
| CarmaHostObj (const long *dims_data, const T_data *data, MemAlloc malloc_type) |
|
| CarmaHostObj (const long *dims_data, int nb_streams) |
|
| CarmaHostObj (const long *dims_data, MemAlloc malloc_type, int nb_streams) |
|
| CarmaHostObj (const CarmaHostObj< T_data > *obj, int nb_streams) |
|
| CarmaHostObj (const CarmaHostObj< T_data > *obj, MemAlloc malloc_type, int nb_streams) |
|
| CarmaHostObj (const long *dims_data, const T_data *data, int nb_streams) |
|
| CarmaHostObj (const long *dims_data, const T_data *data, MemAlloc malloc_type, int nb_streams) |
|
| ~CarmaHostObj () |
|
void | get_devpntr (void **pntr_dev) |
|
int | get_nb_streams () |
|
int | add_stream () |
|
int | add_stream (int nb) |
|
int | del_stream () |
|
int | del_stream (int nb) |
|
cudaStream_t | get_cuda_stream (int stream) |
|
int | wait_stream (int stream) |
|
int | wait_all_streams () |
|
int | cpy_obj (CarmaObj< T_data > *carma_obj, cudaMemcpyKind flag) |
|
int | cpy_obj (CarmaObj< T_data > *carma_obj, cudaMemcpyKind flag, unsigned int stream) |
|
| operator T_data * () |
|
| operator std::string () |
|
char const * | c_str () |
|
T_data & | operator[] (int index) |
|
T_data * | get_data () |
|
T_data * | get_data_at (int index) |
|
const long * | get_dims () |
|
long | get_dims (int i) |
|
int | get_nb_elements () |
|
int | fill_from (const T_data *data) |
|
int | fill_into (T_data *data) |
|
int | fill (T_data value) |
|
std::string | get_mem_alloc () |
|
template<class T_data>
class CarmaHostObj< T_data >
this class provides wrappers to the generic carma host object
- Author
- COMPASS Team https://github.com/ANR-COMPASS
- Version
- 5.0.0
- Date
- 2011/01/28
- Copyright
- GNU Lesser General Public License
Definition at line 68 of file carma_host_obj.h.
◆ CarmaHostObj() [1/12]
◆ CarmaHostObj() [2/12]
◆ CarmaHostObj() [3/12]
◆ CarmaHostObj() [4/12]
◆ CarmaHostObj() [5/12]
◆ CarmaHostObj() [6/12]
◆ CarmaHostObj() [7/12]
◆ CarmaHostObj() [8/12]
◆ CarmaHostObj() [9/12]
◆ CarmaHostObj() [10/12]
◆ CarmaHostObj() [11/12]
◆ CarmaHostObj() [12/12]
◆ ~CarmaHostObj()
◆ add_stream() [1/2]
◆ add_stream() [2/2]
◆ c_str()
◆ cpy_obj() [1/2]
◆ cpy_obj() [2/2]
template<class T_data >
int CarmaHostObj< T_data >::cpy_obj |
( |
CarmaObj< T_data > * |
carma_obj, |
|
|
cudaMemcpyKind |
flag, |
|
|
unsigned int |
stream |
|
) |
| |
◆ del_stream() [1/2]
◆ del_stream() [2/2]
◆ fill()
◆ fill_from()
template<class T_data >
int CarmaHostObj< T_data >::fill_from |
( |
const T_data * |
data | ) |
|
◆ fill_into()
◆ get_cuda_stream()
template<class T_data >
cudaStream_t CarmaHostObj< T_data >::get_cuda_stream |
( |
int |
stream | ) |
|
◆ get_data()
◆ get_data_at()
◆ get_devpntr()
template<class T_data >
void CarmaHostObj< T_data >::get_devpntr |
( |
void ** |
pntr_dev | ) |
|
◆ get_dims() [1/2]
◆ get_dims() [2/2]
◆ get_mem_alloc()
Definition at line 133 of file carma_host_obj.h.
138 return "MA_PAGELOCK";
142 return "MA_PORTABLE";
◆ get_nb_elements()
◆ get_nb_streams()
◆ init()
template<class T_data >
void CarmaHostObj< T_data >::init |
( |
const long * |
dims_data, |
|
|
const T_data * |
data, |
|
|
MemAlloc |
malloc_type, |
|
|
int |
nb_streams |
|
) |
| |
|
protected |
◆ operator std::string()
◆ operator T_data *()
◆ operator[]()
◆ wait_all_streams()
◆ wait_stream()
◆ data_UA
unpadded input dara for generic pinned mem
Definition at line 71 of file carma_host_obj.h.
◆ dims_data
◆ h_data
◆ malloc_type
◆ nb_elem
◆ streams
The documentation for this class was generated from the following file: