template<class T>
class sofa::gpu::opencl::OpenCLMemoryManager< T >
OpenCLMemoryManager OpenCL and multi-GPU version of MemoryManager
|
static int | numDevices () |
|
static void | hostAlloc (void **hPointer, int n) |
|
static void | memsetHost (host_pointer hPointer, int value, size_t n) |
|
static void | hostFree (const host_pointer hSrcPointer) |
|
static void | deviceAlloc (int d, device_pointer *dPointer, int n) |
|
static void | deviceFree (int d, device_pointer dSrcPointer) |
|
static void | memcpyHostToDevice (int d, device_pointer dDestPointer, const host_pointer hSrcPointer, size_t n) |
|
static void | memcpyDeviceToHost (int d, host_pointer hDestPointer, const device_pointer dSrcPointer, size_t n) |
|
static void | memcpyDeviceToDevice (int d, device_pointer dDestPointer, const device_pointer dSrcPointer, size_t n) |
|
static void | memsetDevice (int d, device_pointer dDestPointer, int value, size_t n) |
|
static int | getBufferDevice () |
|
static bool | bufferAlloc (gl_buffer *, int, bool createBuffer=true) |
|
static void | bufferFree (const gl_buffer) |
|
static bool | bufferRegister (const gl_buffer) |
|
static void | bufferUnregister (const gl_buffer) |
|
static bool | bufferMapToDevice (device_pointer *dDestPointer, const gl_buffer) |
|
static void | bufferUnmapToDevice (device_pointer *dDestPointer, const gl_buffer) |
|
static device_pointer | deviceOffset (device_pointer memory, size_t offset) |
|
static device_pointer | null () |
|
static bool | isNull (device_pointer p) |
|
static int | numDevices () |
|
static void | hostAlloc (host_pointer *hPointer, int n) |
|
static void | memsetHost (host_pointer hPointer, int value, size_t n) |
|
static void | hostFree (const host_pointer hSrcPointer) |
|
static void | deviceAlloc (int d, device_pointer *dPointer, int n) |
|
static void | deviceFree (int d, const device_pointer dSrcPointer) |
|
static void | memcpyHostToDevice (int d, device_pointer dDestPointer, const host_pointer hSrcPointer, size_t n) |
|
static void | memcpyDeviceToHost (int d, host_pointer hDestPointer, const void *dSrcPointer, size_t n) |
|
static void | memcpyDeviceToDevice (int d, device_pointer dDestPointer, const device_pointer dSrcPointer, size_t n) |
|
static void | memsetDevice (int d, device_pointer dDestPointer, int value, size_t n) |
|
static int | getBufferDevice () |
|
static bool | bufferAlloc (buffer_id_type *, int, bool) |
|
static void | bufferFree (const buffer_id_type) |
|
static bool | bufferRegister (const buffer_id_type) |
|
static void | bufferUnregister (const buffer_id_type) |
|
static bool | bufferMapToDevice (device_pointer *, const buffer_id_type) |
|
static void | bufferUnmapToDevice (device_pointer *, const buffer_id_type) |
|
static device_pointer | deviceOffset (device_pointer dPointer, size_t offset) |
|
static device_pointer | null () |
|
static bool | isNull (device_pointer p) |
|