Definition: HashmapBufferCPU.hpp:42
addr_t DeviceAllocate()
Definition: HashmapBufferCPU.hpp:68
int64_t dsize_value_
Definition: HashmapBufferCPU.hpp:82
uint8_t * keys_
Definition: HashmapBufferCPU.hpp:84
addr_t * heap_
Definition: HashmapBufferCPU.hpp:86
uint8_t * values_
Definition: HashmapBufferCPU.hpp:85
int64_t dsize_key_
Definition: HashmapBufferCPU.hpp:81
CPUHashmapBufferContext(int64_t capacity, int64_t dsize_key, int64_t dsize_value, Tensor &keys, Tensor &values, Tensor &heap)
Definition: HashmapBufferCPU.hpp:44
int HeapCounter() const
Definition: HashmapBufferCPU.hpp:72
int64_t capacity_
Definition: HashmapBufferCPU.hpp:80
std::pair< void *, void * > ExtractIterator(addr_t ptr)
Definition: HashmapBufferCPU.hpp:74
void DeviceFree(addr_t ptr)
Definition: HashmapBufferCPU.hpp:70
void Reset()
Definition: HashmapBufferCPU.hpp:59
std::atomic< int > heap_counter_
Definition: HashmapBufferCPU.hpp:87