|
Swarm-NG
1.1
|
device internals encapsulation for log_base<> template More...
#include <gpulog_log.h>
Static Public Member Functions | |
| template<typename T > | |
| static __host__ void | alloc (T *&ret, int num=1) |
| Allocate memory. | |
| template<typename T > | |
| static __host__ const T | get (T *ptr) |
| Memory copy from device to CPU host. | |
| template<typename T > | |
| static __host__ void | set (T *ptr, const T &val) |
| Memory copy from Host to Device. | |
| template<typename T > | |
| static __host__ void | dealloc (T *p, int num=1) |
| Free allocated memory. | |
| static __device__ int | threadId () |
| Get thread ID. | |
device internals encapsulation for log_base<> template
Definition at line 51 of file gpulog_log.h.