NVBIO
|
A class to prefetch an infix built on top of a vector_view of a PackedStream using a local-memory cache
StorageIterator | the underlying packed string storage iterator |
SYMBOL_SIZE_T | the size of the packed symbols, in bits |
BIG_ENDIAN_T | the endianness of the packing |
CACHE_SIZE | the local-memory cache size, in words |
Definition at line 202 of file prefetcher.h.
#include <prefetcher.h>
Public Types | |
typedef Infix< vector_view < PackedStream < StorageIterator, uint8, SYMBOL_SIZE_T, BIG_ENDIAN_T > >, InfixCoordType > | input_string_type |
typedef PackedStringLoader < StorageIterator, SYMBOL_SIZE_T, BIG_ENDIAN_T, lmem_cache_tag< CACHE_SIZE > > | loader_type |
typedef vector_view< typename loader_type::iterator > | string_type |
Public Methods | |
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE string_type | load (const input_string_type &string) |
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE string_type | load (const input_string_type &string, const uint2 range) |
Public Members | |
loader_type | loader |
typedef Infix< vector_view< PackedStream<StorageIterator,uint8,SYMBOL_SIZE_T,BIG_ENDIAN_T> >, InfixCoordType> nvbio::StringPrefetcher< Infix< vector_view< PackedStream< StorageIterator, uint8, SYMBOL_SIZE_T, BIG_ENDIAN_T > >, InfixCoordType >, lmem_cache_tag< CACHE_SIZE > >::input_string_type |
Definition at line 208 of file prefetcher.h.
typedef PackedStringLoader<StorageIterator,SYMBOL_SIZE_T,BIG_ENDIAN_T,lmem_cache_tag<CACHE_SIZE> > nvbio::StringPrefetcher< Infix< vector_view< PackedStream< StorageIterator, uint8, SYMBOL_SIZE_T, BIG_ENDIAN_T > >, InfixCoordType >, lmem_cache_tag< CACHE_SIZE > >::loader_type |
Definition at line 209 of file prefetcher.h.
typedef vector_view<typename loader_type::iterator> nvbio::StringPrefetcher< Infix< vector_view< PackedStream< StorageIterator, uint8, SYMBOL_SIZE_T, BIG_ENDIAN_T > >, InfixCoordType >, lmem_cache_tag< CACHE_SIZE > >::string_type |
Definition at line 210 of file prefetcher.h.
|
inline |
given a string, prefetch all its content and return a new string object wrapping the cached version
string | input string |
Definition at line 218 of file prefetcher.h.
|
inline |
given a string, prefetch the contents of a substring and return a new string object wrapping the cached version
string | input string |
range | range of the substring to load |
Definition at line 233 of file prefetcher.h.
loader_type nvbio::StringPrefetcher< Infix< vector_view< PackedStream< StorageIterator, uint8, SYMBOL_SIZE_T, BIG_ENDIAN_T > >, InfixCoordType >, lmem_cache_tag< CACHE_SIZE > >::loader |
Definition at line 245 of file prefetcher.h.