Swarm-NG  1.1
gpulog_logrecord.h File Reference

Defines methods for processing log records. More...

Go to the source code of this file.

Classes

struct  gpulog::internal::logrecord
 log unserialization - reads elements from a log record More...
 

Namespaces

 gpulog
 class template pktsize<> and supporting classes and templates that enable the compile-time calculation of log record layout (byte offsets to which the data will be stored).
 

Constant Groups

 gpulog
 class template pktsize<> and supporting classes and templates that enable the compile-time calculation of log record layout (byte offsets to which the data will be stored).
 

Functions

template<typename T >
__device__ logrecord_ref gpulog::internal::operator>> (logrecord &in, T &v)
 Unserialize a scalar.
 
template<typename T , int N>
__device__ logrecord_ref gpulog::internal::operator>> (logrecord &in, const T(&v)[N])
 specialization for sized arrays
 
__device__ logrecord_ref gpulog::internal::operator>> (logrecord &in, char *v)
 specialization for char ptr (null terminated string)
 
template<int N>
__device__ logrecord_ref gpulog::internal::operator>> (logrecord &in, char v[N])
 specialization for char array (we assume it'll be a null-terminated string)
 
template<typename T >
__device__ logrecord_ref gpulog::internal::operator>> (logrecord &in, T *&v)
 specialization for return of pointers to non-const arrays
 
template<typename T >
__device__ logrecord_ref gpulog::internal::operator>> (logrecord &in, const T *&v)
 specialization for return of a pointer array
 

Detailed Description

Defines methods for processing log records.

Definition in file gpulog_logrecord.h.