Swarm-NG  1.1
gpulog::internal::dev_internals Struct Reference

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.
 

Detailed Description

device internals encapsulation for log_base<> template

Definition at line 51 of file gpulog_log.h.


The documentation for this struct was generated from the following file: