Skip to main content

CUBuffer

The CUBuffer class is a CUDA-specific implementation of the Buffer class, providing access to CUDA buffer resources and memory management. It offers functionality to retrieve the buffer pointer, data, and event, as well as information about its array format and channels. This class also includes a method to access the shared memory for CUDA interoperation, enabling seamless integration with CUDA-based applications.

#include <platform/TellusimBuffer.h>

Inheritance

Constructors

CUBuffer()

Methods

size_t getBufferPtr() const
uint8_t *getBufferData() const
CUevent getBufferEvent() const
uint32_t getArrayFormat() const
uint32_t getArrayChannels() const
CUexternalMemory getSharedMemory() const