morapi_DeviceBuf Struct Reference
Device buffer.
More...
#include <morapi_softneuro.h>
Public Member Functions
void * | morapi_DeviceBuf_getObj (const morapi_DeviceBuf *self) |
morapi_Size | morapi_DeviceBuf_getSize (const morapi_DeviceBuf *self) |
const morapi_Device * | morapi_DeviceBuf_getDevice (const morapi_DeviceBuf *self) |
const morapi_DeviceBuf * | morapi_DeviceBuf_getCpuBuf (const morapi_DeviceBuf *self) |
morapi_Size | morapi_DeviceBuf_getOffset (const morapi_DeviceBuf *self) |
Detailed Description
Device buffer.
Member Function Documentation
morapi_DeviceBuf_getObj()
void * morapi_DeviceBuf_getObj (const morapi_DeviceBuf * self)
Gets the device buffer object.
Parameters
- self : device buffer object
morapi_DeviceBuf_getSize()
morapi_Size morapi_DeviceBuf_getSize (const morapi_DeviceBuf * self)
Gets the size.
Parameters
- self : device buffer object
morapi_DeviceBuf_getDevice()
const morapi_Device * morapi_DeviceBuf_getDevice (const morapi_DeviceBuf * self)
Gets the device.
Parameters
- self : device buffer object
morapi_DeviceBuf_getCpuBuf()
const morapi_DeviceBuf * morapi_DeviceBuf_getCpuBuf (const morapi_DeviceBuf * self)
Gets the cpu buffer.
Parameters
- self : device buffer object
morapi_DeviceBuf_getOffset()
morapi_Size morapi_DeviceBuf_getOffset (const morapi_DeviceBuf * self)
Gets the offset.
Parameters
- self : device buffer object