template<class T>
class sofa::helper::MemoryManager< T >
Generic MemoryManager Its use is informative only, and it cannot be instantiated (linkage error otherwise). 
|  | 
| 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) | 
|  |