21 namespace CudaMgr_Namespace {
24 namespace Buffer_Namespace {
29 BufferList::iterator seg_it,
32 const size_t page_size = 512,
33 const size_t num_bytes = 0);
38 const size_t num_bytes,
39 const size_t offset = 0,
41 const int dst_devic_id = -1)
override;
43 const size_t num_bytes,
44 const size_t offset = 0,
46 const int src_device_id = -1)
override;
Note(s): Forbid Copying Idiom 4.1.
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) override
Data_Namespace::MemoryLevel getType() const override
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) override
CudaMgr_Namespace::CudaMgr * cuda_mgr_
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)
Note(s): Forbid Copying Idiom 4.1.