offloaded array/buffer
More...
#include <offload.h>
offloaded array/buffer
Definition at line 23 of file offload.h.
CTF_int::offload_arr::offload_arr |
( |
int64_t |
nbytes | ) |
|
constructor allocates device buffer
- Parameters
-
[in] | nbytes | number of elements |
CTF_int::offload_arr::~offload_arr |
( |
| ) |
|
destructor allocates device buffer
void CTF_int::offload_arr::download |
( |
char * |
host_spr | ) |
|
read data from device to host pointer
- Parameters
-
[in,out] | host_spr | (should be preallocated) |
void CTF_int::offload_arr::upload |
( |
char const * |
host_spr | ) |
|
write data from host to device
- Parameters
-
char* CTF_int::offload_arr::dev_spr |
device pointer
Definition at line 26 of file offload.h.
int64_t CTF_int::offload_arr::nbytes |
The documentation for this class was generated from the following file: