Class l0::L0Manager¶
-
class
L0Manager
¶ Public Functions
-
L0Manager
()¶
-
void
copyHostToDevice
(int8_t *device_ptr, const int8_t *host_ptr, const size_t num_bytes, const int device_num)¶
-
void
copyDeviceToHost
(int8_t *host_ptr, const int8_t *device_ptr, const size_t num_bytes, const int device_num)¶
-
void
copyDeviceToDevice
(int8_t *dest_ptr, int8_t *src_ptr, const size_t num_bytes, const int dest_device_num, const int src_device_num)¶
-
int8_t *
allocatePinnedHostMem
(const size_t num_bytes)¶
-
int8_t *
allocateDeviceMem
(const size_t num_bytes, const int device_num)¶
-
void
freePinnedHostMem
(int8_t *host_ptr)¶
-
void
freeDeviceMem
(int8_t *device_ptr)¶
-
void
zeroDeviceMem
(int8_t *device_ptr, const size_t num_bytes, const int device_num)¶
-
void
setDeviceMem
(int8_t *device_ptr, const unsigned char uc, const size_t num_bytes, const int device_num)¶
-
void
synchronizeDevices
() const¶
-