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::dispatch_rank< SYMBOL_SIZE, K, PackedStream< TextStorage, uint8, SYMBOL_SIZE, true, index_type >, OccIterator, CountTable, word_type, index_type > Struct Template Reference

Detailed description

template< uint32 SYMBOL_SIZE, uint32 K, typename TextStorage, typename OccIterator, typename CountTable, typename word_type, typename index_type>
struct nvbio::dispatch_rank< SYMBOL_SIZE, K, PackedStream< TextStorage, uint8, SYMBOL_SIZE, true, index_type >, OccIterator, CountTable, word_type, index_type >

Definition at line 244 of file rank_dictionary_inl.h.

#include <rank_dictionary_inl.h>

Public Types

typedef PackedStream
< TextStorage, uint8,
SYMBOL_SIZE, true, index_type > 
text_type
 
typedef rank_dictionary
< SYMBOL_SIZE, K, text_type,
OccIterator, CountTable > 
dictionary_type
 
typedef vector_type
< index_type, 2 >::type 
vec2_type
 
typedef vector_type
< index_type, 4 >::type 
vec4_type
 
typedef vec2_type range_type
 
typedef StaticVector
< index_type, SYMBOL_COUNT
vector_type
 

Static Public Methods

template<typename T >
static NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint2 
popcN (const TextStorage text, const range_type range, const uint32 kl, const uint32 kh, const T c)
 
static NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE index_type 
run (const dictionary_type &dict, const index_type i, const uint32 c)
 
static NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE vec2_type 
run (const dictionary_type &dict, const range_type range, const uint32 c)
 
static NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE vec4_type 
run4 (const dictionary_type &dict, const index_type i)
 
static NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE void 
run4 (const dictionary_type &dict, const index_type i, vec4_type *out)
 
static NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE void 
run4 (const dictionary_type &dict, const range_type range, vec4_type *outl, vec4_type *outh)
 
static NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE void 
run_all (const dictionary_type &dict, const index_type i, vector_type *out)
 
static NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE void 
run_all (const dictionary_type &dict, const range_type range, vector_type *outl, vector_type *outh)
 

Static Public Members

static const uint32 LOG_SYMS_PER_WORD = rank_word_traits<2,word_type>::LOG_SYMS_PER_WORD
 
static const uint32 SYMS_PER_WORD = rank_word_traits<2,word_type>::SYMS_PER_WORD
 
static const uint32 SYMBOL_COUNT = 1u << SYMBOL_SIZE
 

Member Typedef Documentation

template<uint32 SYMBOL_SIZE, uint32 K, typename TextStorage , typename OccIterator , typename CountTable , typename word_type , typename index_type >
typedef rank_dictionary<SYMBOL_SIZE,K,text_type,OccIterator,CountTable> nvbio::dispatch_rank< SYMBOL_SIZE, K, PackedStream< TextStorage, uint8, SYMBOL_SIZE, true, index_type >, OccIterator, CountTable, word_type, index_type >::dictionary_type

Definition at line 247 of file rank_dictionary_inl.h.

template<uint32 SYMBOL_SIZE, uint32 K, typename TextStorage , typename OccIterator , typename CountTable , typename word_type , typename index_type >
typedef vec2_type nvbio::dispatch_rank< SYMBOL_SIZE, K, PackedStream< TextStorage, uint8, SYMBOL_SIZE, true, index_type >, OccIterator, CountTable, word_type, index_type >::range_type

Definition at line 255 of file rank_dictionary_inl.h.

template<uint32 SYMBOL_SIZE, uint32 K, typename TextStorage , typename OccIterator , typename CountTable , typename word_type , typename index_type >
typedef PackedStream<TextStorage,uint8,SYMBOL_SIZE,true,index_type> nvbio::dispatch_rank< SYMBOL_SIZE, K, PackedStream< TextStorage, uint8, SYMBOL_SIZE, true, index_type >, OccIterator, CountTable, word_type, index_type >::text_type

Definition at line 246 of file rank_dictionary_inl.h.

template<uint32 SYMBOL_SIZE, uint32 K, typename TextStorage , typename OccIterator , typename CountTable , typename word_type , typename index_type >
typedef vector_type<index_type,2>::type nvbio::dispatch_rank< SYMBOL_SIZE, K, PackedStream< TextStorage, uint8, SYMBOL_SIZE, true, index_type >, OccIterator, CountTable, word_type, index_type >::vec2_type

Definition at line 253 of file rank_dictionary_inl.h.

template<uint32 SYMBOL_SIZE, uint32 K, typename TextStorage , typename OccIterator , typename CountTable , typename word_type , typename index_type >
typedef vector_type<index_type,4>::type nvbio::dispatch_rank< SYMBOL_SIZE, K, PackedStream< TextStorage, uint8, SYMBOL_SIZE, true, index_type >, OccIterator, CountTable, word_type, index_type >::vec4_type

Definition at line 254 of file rank_dictionary_inl.h.

template<uint32 SYMBOL_SIZE, uint32 K, typename TextStorage , typename OccIterator , typename CountTable , typename word_type , typename index_type >
typedef StaticVector<index_type,SYMBOL_COUNT> nvbio::dispatch_rank< SYMBOL_SIZE, K, PackedStream< TextStorage, uint8, SYMBOL_SIZE, true, index_type >, OccIterator, CountTable, word_type, index_type >::vector_type

Definition at line 256 of file rank_dictionary_inl.h.

Member Function Documentation

template<uint32 SYMBOL_SIZE, uint32 K, typename TextStorage , typename OccIterator , typename CountTable , typename word_type , typename index_type >
template<typename T >
static NVBIO_FORCEINLINE NVBIO_HOST_DEVICE uint2 nvbio::dispatch_rank< SYMBOL_SIZE, K, PackedStream< TextStorage, uint8, SYMBOL_SIZE, true, index_type >, OccIterator, CountTable, word_type, index_type >::popcN ( const TextStorage  text,
const range_type  range,
const uint32  kl,
const uint32  kh,
const c 
)
inlinestatic

Definition at line 262 of file rank_dictionary_inl.h.

template<uint32 SYMBOL_SIZE, uint32 K, typename TextStorage , typename OccIterator , typename CountTable , typename word_type , typename index_type >
static NVBIO_FORCEINLINE NVBIO_HOST_DEVICE index_type nvbio::dispatch_rank< SYMBOL_SIZE, K, PackedStream< TextStorage, uint8, SYMBOL_SIZE, true, index_type >, OccIterator, CountTable, word_type, index_type >::run ( const dictionary_type dict,
const index_type  i,
const uint32  c 
)
inlinestatic

Definition at line 301 of file rank_dictionary_inl.h.

template<uint32 SYMBOL_SIZE, uint32 K, typename TextStorage , typename OccIterator , typename CountTable , typename word_type , typename index_type >
static NVBIO_FORCEINLINE NVBIO_HOST_DEVICE vec2_type nvbio::dispatch_rank< SYMBOL_SIZE, K, PackedStream< TextStorage, uint8, SYMBOL_SIZE, true, index_type >, OccIterator, CountTable, word_type, index_type >::run ( const dictionary_type dict,
const range_type  range,
const uint32  c 
)
inlinestatic

Definition at line 319 of file rank_dictionary_inl.h.

template<uint32 SYMBOL_SIZE, uint32 K, typename TextStorage , typename OccIterator , typename CountTable , typename word_type , typename index_type >
static NVBIO_FORCEINLINE NVBIO_HOST_DEVICE vec4_type nvbio::dispatch_rank< SYMBOL_SIZE, K, PackedStream< TextStorage, uint8, SYMBOL_SIZE, true, index_type >, OccIterator, CountTable, word_type, index_type >::run4 ( const dictionary_type dict,
const index_type  i 
)
inlinestatic

Definition at line 349 of file rank_dictionary_inl.h.

template<uint32 SYMBOL_SIZE, uint32 K, typename TextStorage , typename OccIterator , typename CountTable , typename word_type , typename index_type >
static NVBIO_FORCEINLINE NVBIO_HOST_DEVICE void nvbio::dispatch_rank< SYMBOL_SIZE, K, PackedStream< TextStorage, uint8, SYMBOL_SIZE, true, index_type >, OccIterator, CountTable, word_type, index_type >::run4 ( const dictionary_type dict,
const index_type  i,
vec4_type out 
)
inlinestatic

Definition at line 365 of file rank_dictionary_inl.h.

template<uint32 SYMBOL_SIZE, uint32 K, typename TextStorage , typename OccIterator , typename CountTable , typename word_type , typename index_type >
static NVBIO_FORCEINLINE NVBIO_HOST_DEVICE void nvbio::dispatch_rank< SYMBOL_SIZE, K, PackedStream< TextStorage, uint8, SYMBOL_SIZE, true, index_type >, OccIterator, CountTable, word_type, index_type >::run4 ( const dictionary_type dict,
const range_type  range,
vec4_type outl,
vec4_type outh 
)
inlinestatic

Definition at line 370 of file rank_dictionary_inl.h.

template<uint32 SYMBOL_SIZE, uint32 K, typename TextStorage , typename OccIterator , typename CountTable , typename word_type , typename index_type >
static NVBIO_FORCEINLINE NVBIO_HOST_DEVICE void nvbio::dispatch_rank< SYMBOL_SIZE, K, PackedStream< TextStorage, uint8, SYMBOL_SIZE, true, index_type >, OccIterator, CountTable, word_type, index_type >::run_all ( const dictionary_type dict,
const index_type  i,
vector_type out 
)
inlinestatic

Definition at line 387 of file rank_dictionary_inl.h.

template<uint32 SYMBOL_SIZE, uint32 K, typename TextStorage , typename OccIterator , typename CountTable , typename word_type , typename index_type >
static NVBIO_FORCEINLINE NVBIO_HOST_DEVICE void nvbio::dispatch_rank< SYMBOL_SIZE, K, PackedStream< TextStorage, uint8, SYMBOL_SIZE, true, index_type >, OccIterator, CountTable, word_type, index_type >::run_all ( const dictionary_type dict,
const range_type  range,
vector_type outl,
vector_type outh 
)
inlinestatic

Definition at line 401 of file rank_dictionary_inl.h.

Member Data Documentation

template<uint32 SYMBOL_SIZE, uint32 K, typename TextStorage , typename OccIterator , typename CountTable , typename word_type , typename index_type >
const uint32 nvbio::dispatch_rank< SYMBOL_SIZE, K, PackedStream< TextStorage, uint8, SYMBOL_SIZE, true, index_type >, OccIterator, CountTable, word_type, index_type >::LOG_SYMS_PER_WORD = rank_word_traits<2,word_type>::LOG_SYMS_PER_WORD
static

Definition at line 249 of file rank_dictionary_inl.h.

template<uint32 SYMBOL_SIZE, uint32 K, typename TextStorage , typename OccIterator , typename CountTable , typename word_type , typename index_type >
const uint32 nvbio::dispatch_rank< SYMBOL_SIZE, K, PackedStream< TextStorage, uint8, SYMBOL_SIZE, true, index_type >, OccIterator, CountTable, word_type, index_type >::SYMBOL_COUNT = 1u << SYMBOL_SIZE
static

Definition at line 251 of file rank_dictionary_inl.h.

template<uint32 SYMBOL_SIZE, uint32 K, typename TextStorage , typename OccIterator , typename CountTable , typename word_type , typename index_type >
const uint32 nvbio::dispatch_rank< SYMBOL_SIZE, K, PackedStream< TextStorage, uint8, SYMBOL_SIZE, true, index_type >, OccIterator, CountTable, word_type, index_type >::SYMS_PER_WORD = rank_word_traits<2,word_type>::SYMS_PER_WORD
static

Definition at line 250 of file rank_dictionary_inl.h.


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