NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Static Public Methods | Static Public Members | List of all members
nvbio::forward_packer< BIG_ENDIAN, SYMBOL_SIZE, Symbol, InputStream, IndexType, uint4 > Struct Template Reference

Detailed description

template< bool BIG_ENDIAN, uint32 SYMBOL_SIZE, typename Symbol, typename InputStream, typename IndexType>
struct nvbio::forward_packer< BIG_ENDIAN, SYMBOL_SIZE, Symbol, InputStream, IndexType, uint4 >

Definition at line 875 of file packedstream_inl.h.

#include <packedstream_inl.h>

Public Types

typedef ForwardPackedStream
< InputStream, Symbol,
SYMBOL_SIZE, BIG_ENDIAN,
IndexType > 
forward_stream_type
 

Static Public Methods

NVBIO_FORCEINLINE static
NVBIO_HOST_DEVICE void 
rebase (forward_stream_type &it)
 
NVBIO_FORCEINLINE static
NVBIO_HOST_DEVICE void 
next (forward_stream_type &it)
 
NVBIO_FORCEINLINE static
NVBIO_HOST_DEVICE void 
prev (forward_stream_type &it)
 
NVBIO_FORCEINLINE static
NVBIO_HOST_DEVICE Symbol 
fetch (const forward_stream_type &it)
 

Static Public Members

static const uint32 SYMBOL_COUNT = 1u << SYMBOL_SIZE
 
static const uint32 SYMBOL_MASK = SYMBOL_COUNT - 1u
 
static const uint32 WORD_SIZE = 128
 
static const uint32 SUBWORD_SIZE = 32
 
static const uint32 SYMBOLS_PER_WORD = WORD_SIZE / SYMBOL_SIZE
 
static const uint32 SYMBOLS_PER_SUBWORD = SUBWORD_SIZE / SYMBOL_SIZE
 

Member Typedef Documentation

template<bool BIG_ENDIAN, uint32 SYMBOL_SIZE, typename Symbol , typename InputStream , typename IndexType >
typedef ForwardPackedStream<InputStream,Symbol,SYMBOL_SIZE,BIG_ENDIAN,IndexType> nvbio::forward_packer< BIG_ENDIAN, SYMBOL_SIZE, Symbol, InputStream, IndexType, uint4 >::forward_stream_type

Definition at line 877 of file packedstream_inl.h.

Member Function Documentation

template<bool BIG_ENDIAN, uint32 SYMBOL_SIZE, typename Symbol , typename InputStream , typename IndexType >
NVBIO_FORCEINLINE static NVBIO_HOST_DEVICE Symbol nvbio::forward_packer< BIG_ENDIAN, SYMBOL_SIZE, Symbol, InputStream, IndexType, uint4 >::fetch ( const forward_stream_type it)
inlinestatic

Definition at line 930 of file packedstream_inl.h.

template<bool BIG_ENDIAN, uint32 SYMBOL_SIZE, typename Symbol , typename InputStream , typename IndexType >
NVBIO_FORCEINLINE static NVBIO_HOST_DEVICE void nvbio::forward_packer< BIG_ENDIAN, SYMBOL_SIZE, Symbol, InputStream, IndexType, uint4 >::next ( forward_stream_type it)
inlinestatic

Definition at line 898 of file packedstream_inl.h.

template<bool BIG_ENDIAN, uint32 SYMBOL_SIZE, typename Symbol , typename InputStream , typename IndexType >
NVBIO_FORCEINLINE static NVBIO_HOST_DEVICE void nvbio::forward_packer< BIG_ENDIAN, SYMBOL_SIZE, Symbol, InputStream, IndexType, uint4 >::prev ( forward_stream_type it)
inlinestatic

Definition at line 914 of file packedstream_inl.h.

template<bool BIG_ENDIAN, uint32 SYMBOL_SIZE, typename Symbol , typename InputStream , typename IndexType >
NVBIO_FORCEINLINE static NVBIO_HOST_DEVICE void nvbio::forward_packer< BIG_ENDIAN, SYMBOL_SIZE, Symbol, InputStream, IndexType, uint4 >::rebase ( forward_stream_type it)
inlinestatic

Definition at line 887 of file packedstream_inl.h.

Member Data Documentation

template<bool BIG_ENDIAN, uint32 SYMBOL_SIZE, typename Symbol , typename InputStream , typename IndexType >
const uint32 nvbio::forward_packer< BIG_ENDIAN, SYMBOL_SIZE, Symbol, InputStream, IndexType, uint4 >::SUBWORD_SIZE = 32
static

Definition at line 882 of file packedstream_inl.h.

template<bool BIG_ENDIAN, uint32 SYMBOL_SIZE, typename Symbol , typename InputStream , typename IndexType >
const uint32 nvbio::forward_packer< BIG_ENDIAN, SYMBOL_SIZE, Symbol, InputStream, IndexType, uint4 >::SYMBOL_COUNT = 1u << SYMBOL_SIZE
static

Definition at line 879 of file packedstream_inl.h.

template<bool BIG_ENDIAN, uint32 SYMBOL_SIZE, typename Symbol , typename InputStream , typename IndexType >
const uint32 nvbio::forward_packer< BIG_ENDIAN, SYMBOL_SIZE, Symbol, InputStream, IndexType, uint4 >::SYMBOL_MASK = SYMBOL_COUNT - 1u
static

Definition at line 880 of file packedstream_inl.h.

template<bool BIG_ENDIAN, uint32 SYMBOL_SIZE, typename Symbol , typename InputStream , typename IndexType >
const uint32 nvbio::forward_packer< BIG_ENDIAN, SYMBOL_SIZE, Symbol, InputStream, IndexType, uint4 >::SYMBOLS_PER_SUBWORD = SUBWORD_SIZE / SYMBOL_SIZE
static

Definition at line 884 of file packedstream_inl.h.

template<bool BIG_ENDIAN, uint32 SYMBOL_SIZE, typename Symbol , typename InputStream , typename IndexType >
const uint32 nvbio::forward_packer< BIG_ENDIAN, SYMBOL_SIZE, Symbol, InputStream, IndexType, uint4 >::SYMBOLS_PER_WORD = WORD_SIZE / SYMBOL_SIZE
static

Definition at line 883 of file packedstream_inl.h.

template<bool BIG_ENDIAN, uint32 SYMBOL_SIZE, typename Symbol , typename InputStream , typename IndexType >
const uint32 nvbio::forward_packer< BIG_ENDIAN, SYMBOL_SIZE, Symbol, InputStream, IndexType, uint4 >::WORD_SIZE = 128
static

Definition at line 881 of file packedstream_inl.h.


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