yacx-YetAnotherCudaExecutor  0.6.2
wrapper to easily compile and execute cuda kernels
Public Member Functions | List of all members
yacx::detail::DataCopyKernelArg Class Reference
Inheritance diagram for yacx::detail::DataCopyKernelArg:
yacx::detail::DataCopy

Public Member Functions

void copyDataHtoD (void *hdata, CUdeviceptr ddata, size_t size, CUstream stream) override
 
void copyDataDtoH (CUdeviceptr ddata, void *hdata, size_t size, CUstream stream) override
 
- Public Member Functions inherited from yacx::detail::DataCopy
 DataCopy ()
 A constructor.
 

Member Function Documentation

◆ copyDataDtoH()

void DataCopyKernelArg::copyDataDtoH ( CUdeviceptr  ddata,
void *  hdata,
size_t  size,
CUstream  stream 
)
overridevirtual

copy data from device to host

Parameters
ddatapointer to device data
hdatapointer to host data
sizesize 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
hdatapointer to host data
ddatapointer to device data
sizesize of the data

Implements yacx::detail::DataCopy.


The documentation for this class was generated from the following files: