Skip to main content

HIPBuffer

The HIPBuffer class is a HIP-specific implementation of the Buffer class, providing access to HIP buffer resources and memory management. It allows retrieval of buffer pointers, data, events, and details about array format and channels. Additionally, the class supports interaction with shared memory, enabling efficient resource management and interoperation in HIP-based applications.

#include <platform/TellusimBuffer.h>

Inheritance

Constructors

HIPBuffer()

Methods

void *getBufferPtr() const
uint8_t *getBufferData() const
void *getBufferEvent() const
uint32_t getArrayFormat() const
uint32_t getArrayChannels() const
void *getSharedMemory() const