Swarm-NG  1.1
gpulog Namespace Reference

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). More...

Variables

static const int MSG_INVALID = -1
 System message ID.
 
static const int MSG_PRINTF = -2
 System message ID.
 
static const int LOG_DEVCLEAR = 0x01
 flags for gpulog::copy() and related functions
 

Detailed Description

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).

Output arbitrary information in a stream from a CUDA Kernel.

This subsystem is aimed at providing an independent set of classess that provide an output stream for to use in a CUDA kernel.

Data pushed into the gpulog are kept in pre-allocated memory buffer and the buffer should be emptied and dumped to the disk before it runs out of space.