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

Host specialization, with memory management. More...

#include <gpulog_log.h>

Inheritance diagram for gpulog::internal::host_log:
gpulog::internal::log_base< host_internals >

Additional Inherited Members

- Public Member Functions inherited from gpulog::internal::log_base< host_internals >
__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
 

Detailed Description

Host specialization, with memory management.

Definition at line 289 of file gpulog_log.h.


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