|
void | copyDataHtoD (void *hdata, CUdeviceptr ddata, size_t size, CUstream stream) override |
|
void | copyDataDtoH (CUdeviceptr ddata, void *hdata, size_t size, CUstream stream) override |
|
| DataCopy () |
| A constructor.
|
|
◆ copyDataDtoH()
void DataCopyKernelArg::copyDataDtoH |
( |
CUdeviceptr |
ddata, |
|
|
void * |
hdata, |
|
|
size_t |
size, |
|
|
CUstream |
stream |
|
) |
| |
|
overridevirtual |
copy data from device to host
- Parameters
-
ddata | pointer to device data |
hdata | pointer to host data |
size | size of the data |
Implements yacx::detail::DataCopy.
◆ copyDataHtoD()
void DataCopyKernelArg::copyDataHtoD |
( |
void * |
hdata, |
|
|
CUdeviceptr |
ddata, |
|
|
size_t |
size, |
|
|
CUstream |
stream |
|
) |
| |
|
overridevirtual |
copy data from host to device
- Parameters
-
hdata | pointer to host data |
ddata | pointer to device data |
size | size of the data |
Implements yacx::detail::DataCopy.
The documentation for this class was generated from the following files: