Class Buffer_Namespace::GpuCudaBuffer¶
-
class
GpuCudaBuffer
: public Buffer_Namespace::Buffer¶ Public Functions
-
GpuCudaBuffer
(BufferMgr *bm, BufferList::iterator seg_it, const int device_id, CudaMgr_Namespace::CudaMgr *cuda_mgr, const size_t page_size = 512, const size_t num_bytes = 0)¶
-
Data_Namespace::MemoryLevel
getType
() const¶
Private Functions
-
void
readData
(int8_t *const dst, const size_t num_bytes, const size_t offset = 0, const MemoryLevel dst_buffer_type = CPU_LEVEL, const int dst_devic_id = -1)¶
-
void
writeData
(int8_t *const src, const size_t num_bytes, const size_t offset = 0, const MemoryLevel src_buffer_type = CPU_LEVEL, const int src_device_id = -1)¶
-