NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Methods | Public Members | List of all members
nvbio::cuda::WorkQueueStatsView Struct Reference

Detailed description

a device-side view

Definition at line 193 of file work_queue.h.

#include <work_queue.h>

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE WorkQueueStatsView ()
 
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE WorkQueueStatsView (uint64 *_active_lanes, uint64 *_issued_warps, uint64 *_iterations)
 
NVBIO_FORCEINLINE NVBIO_DEVICE void sample (const WorkQueueStatsEvent type)
 
NVBIO_FORCEINLINE NVBIO_DEVICE void sample_iterations (const uint32 i)
 
NVBIO_FORCEINLINE NVBIO_DEVICE bool valid () const
 

Public Members

uint64active_lanes
 
uint64issued_warps
 
uint64iterations
 

Constructor & Destructor Documentation

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::cuda::WorkQueueStatsView::WorkQueueStatsView ( )
inline

default constructor

Definition at line 198 of file work_queue.h.

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::cuda::WorkQueueStatsView::WorkQueueStatsView ( uint64 _active_lanes,
uint64 _issued_warps,
uint64 _iterations 
)
inline

constructor

Definition at line 203 of file work_queue.h.

Member Function Documentation

NVBIO_FORCEINLINE NVBIO_DEVICE void nvbio::cuda::WorkQueueStats::View::sample ( const WorkQueueStatsEvent  type)

sample utilization

Definition at line 111 of file work_queue_inl.h.

NVBIO_FORCEINLINE NVBIO_DEVICE void nvbio::cuda::WorkQueueStats::View::sample_iterations ( const uint32  i)

sample avg/max iterations

Definition at line 128 of file work_queue_inl.h.

NVBIO_FORCEINLINE NVBIO_DEVICE bool nvbio::cuda::WorkQueueStatsView::valid ( ) const
inline

is the view valid

Definition at line 219 of file work_queue.h.

Member Data Documentation

uint64* nvbio::cuda::WorkQueueStatsView::active_lanes

Definition at line 221 of file work_queue.h.

uint64* nvbio::cuda::WorkQueueStatsView::issued_warps

Definition at line 222 of file work_queue.h.

uint64* nvbio::cuda::WorkQueueStatsView::iterations

Definition at line 223 of file work_queue.h.


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