Class foreign_storage::ForeignStorageBuffer¶
-
class
ForeignStorageBuffer: public Data_Namespace::AbstractBuffer¶ Public Functions
-
ForeignStorageBuffer()¶
-
void
read(int8_t *const destination, const size_t num_bytes, const size_t offset = 0, const MemoryLevel destination_buffer_type = CPU_LEVEL, const int destination_device_id = -1)¶
-
void
write(int8_t *source, const size_t num_bytes, const size_t offset = 0, const MemoryLevel source_buffer_type = CPU_LEVEL, const int source_device_id = -1)¶
-
void
reserve(size_t additional_num_bytes)
-
void
append(int8_t *source, const size_t num_bytes, const MemoryLevel source_buffer_type = CPU_LEVEL, const int device_id = -1)¶
-
int8_t *
getMemoryPtr()
-
size_t
pageCount() const
-
size_t
pageSize() const
-
size_t
reservedSize() const
-
MemoryLevel
getType() const
-