OmniSciDB
a5dc49c757
|
#include <DeviceAllocator.h>
Public Member Functions | |
virtual void | free (Data_Namespace::AbstractBuffer *ab) const =0 |
virtual void | copyToDevice (void *device_dst, const void *host_src, const size_t num_bytes) const =0 |
virtual void | copyFromDevice (void *host_dst, const void *device_src, const size_t num_bytes) const =0 |
virtual void | zeroDeviceMem (int8_t *device_ptr, const size_t num_bytes) const =0 |
virtual void | setDeviceMem (int8_t *device_ptr, unsigned char uc, const size_t num_bytes) const =0 |
Public Member Functions inherited from Allocator | |
Allocator () | |
virtual | ~Allocator () |
virtual int8_t * | alloc (const size_t num_bytes)=0 |
Definition at line 45 of file DeviceAllocator.h.
|
pure virtual |
Implemented in CudaAllocator.
Referenced by copy_group_by_buffers_from_gpu(), and get_num_allocated_rows_from_gpu().
|
pure virtual |
Implemented in CudaAllocator.
Referenced by create_dev_group_by_buffers(), QueryMemoryInitializer::createAndInitializeGroupByBufferGpu(), HashJoin::fetchJoinColumn(), ColumnFetcher::getOneTableColumnFragment(), ColumnFetcher::linearizeColumnFragments(), ColumnFetcher::linearizeVarLenArrayColFrags(), QueryMemoryInitializer::prepareTopNHeapsDevBuffer(), QueryMemoryInitializer::setupTableFunctionGpuBuffers(), transfer_flat_object_to_gpu(), transfer_vector_of_flat_objects_to_gpu(), and ColumnFetcher::transferColumnIfNeeded().
|
pure virtual |
Implemented in CudaAllocator.
|
pure virtual |
Implemented in CudaAllocator.
Referenced by QueryMemoryInitializer::prepareTopNHeapsDevBuffer().
|
pure virtual |
Implemented in CudaAllocator.
Referenced by QueryMemoryInitializer::allocateCountDistinctGpuMem(), QueryMemoryInitializer::prepareTopNHeapsDevBuffer(), and QueryMemoryInitializer::setupTableFunctionGpuBuffers().