|
Swarm-NG
1.1
|
Log template with the write() implementations. More...
#include <gpulog_log.h>
Public Member Functions | |
| __host__ void | clear () |
| clear the output buffer (from host side) | |
| __host__ int | fetch_size () const |
| get the size (in bytes) of the data in the output buffer | |
| __host__ void | set_size (int pos) const |
| move the buffer pointer to position pos | |
| __host__ __device__ int | capacity () const |
| manipulation from device | |
| __host__ __device__ int | size () const |
| get the size (in bytes) of the data in the output buffer | |
| __host__ __device__ void | seek (int pos) const |
| move the buffer pointer to position pos | |
| __host__ __device__ char * | internal_buffer () const |
| return the internal output buffer (mainly for use by copy()) | |
| __host__ __device__ bool | has_overflowed (int idx) |
| test if the buffer has overflowed | |
Log template with the write() implementations.
Definition at line 172 of file gpulog_log.h.