#include <parallel_memory.h>
Public Types | |
typedef void ** | device_init_type |
typedef T * | device_type |
typedef T * | host_type |
typedef unsigned int | mem_flags |
typedef int | stream_type |
Static Public Member Functions | |
static void | allocateDevice (void **ptr, size_t size) |
static void | allocateHost (void **ptr, size_t size, int flags) |
static void | copyToDevice (void *dst, void *src, size_t size, CopyType copyType, stream_type stream) |
static void | copyToHost (void *dst, void *src, size_t size, CopyType copyType, stream_type stream) |
static void | freeDevice (void *ptr) |
static void | freeHost (void *ptr) |
Definition at line 20 of file parallel_memory.h.
typedef void** parallel_utils::MemManager< T, PT >::device_init_type |
Definition at line 24 of file parallel_memory.h.
typedef T* parallel_utils::MemManager< T, PT >::device_type |
Definition at line 23 of file parallel_memory.h.
typedef T* parallel_utils::MemManager< T, PT >::host_type |
Definition at line 22 of file parallel_memory.h.
typedef unsigned int parallel_utils::MemManager< T, PT >::mem_flags |
Definition at line 26 of file parallel_memory.h.
typedef int parallel_utils::MemManager< T, PT >::stream_type |
Definition at line 25 of file parallel_memory.h.
static void parallel_utils::MemManager< T, PT >::allocateDevice | ( | void ** | ptr, |
size_t | size | ||
) | [inline, static] |
Definition at line 36 of file parallel_memory.h.
static void parallel_utils::MemManager< T, PT >::allocateHost | ( | void ** | ptr, |
size_t | size, | ||
int | flags | ||
) | [inline, static] |
Definition at line 28 of file parallel_memory.h.
static void parallel_utils::MemManager< T, PT >::copyToDevice | ( | void * | dst, |
void * | src, | ||
size_t | size, | ||
CopyType | copyType, | ||
stream_type | stream | ||
) | [inline, static] |
Definition at line 48 of file parallel_memory.h.
static void parallel_utils::MemManager< T, PT >::copyToHost | ( | void * | dst, |
void * | src, | ||
size_t | size, | ||
CopyType | copyType, | ||
stream_type | stream | ||
) | [inline, static] |
Definition at line 44 of file parallel_memory.h.
static void parallel_utils::MemManager< T, PT >::freeDevice | ( | void * | ptr | ) | [inline, static] |
Definition at line 40 of file parallel_memory.h.
static void parallel_utils::MemManager< T, PT >::freeHost | ( | void * | ptr | ) | [inline, static] |
Definition at line 32 of file parallel_memory.h.