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::vectorized_string< vector_view< const T *, IndexType > > Struct Template Reference

Detailed description

template< typename T, typename IndexType>
struct nvbio::vectorized_string< vector_view< const T *, IndexType > >

vector_view specialization of the Vectorized String Loading interface

Definition at line 249 of file vectorized_string.h.

#include <vectorized_string.h>

Public Types

typedef vector_view< const T
*, IndexType > 
string_type
 
typedef T value_type
 
typedef IndexType index_type
 

Static Public Methods

template<uint32 VECTOR_WIDTH_T>
NVBIO_FORCEINLINE static
NVBIO_HOST_DEVICE uint2 
range (const string_type &string)
 
template<uint32 VECTOR_WIDTH_T>
NVBIO_FORCEINLINE static
NVBIO_HOST_DEVICE void 
load (const string_type &string, const uint32 offset, T *vector)
 
NVBIO_FORCEINLINE static
NVBIO_HOST_DEVICE uint2 
range (const string_type &string)
 
NVBIO_FORCEINLINE static
NVBIO_HOST_DEVICE void 
load (const string_type &string, const uint32 offset, T *vector)
 

Static Public Members

static const uint32 VECTOR_WIDTH = maximum_vector_width<T>::VALUE
 the intrinsic vector width More...
 

Member Typedef Documentation

template<typename T , typename IndexType >
typedef IndexType nvbio::vectorized_string< vector_view< const T *, IndexType > >::index_type

Definition at line 253 of file vectorized_string.h.

template<typename T , typename IndexType >
typedef vector_view<const T*,IndexType> nvbio::vectorized_string< vector_view< const T *, IndexType > >::string_type

Definition at line 251 of file vectorized_string.h.

template<typename T , typename IndexType >
typedef T nvbio::vectorized_string< vector_view< const T *, IndexType > >::value_type

Definition at line 252 of file vectorized_string.h.

Member Function Documentation

template<typename T , typename IndexType >
template<uint32 VECTOR_WIDTH_T>
NVBIO_FORCEINLINE static NVBIO_HOST_DEVICE void nvbio::vectorized_string< vector_view< const T *, IndexType > >::load ( const string_type string,
const uint32  offset,
T *  vector 
)
inlinestatic

load a vector with a specified vector width

Definition at line 277 of file vectorized_string.h.

template<typename T , typename IndexType >
NVBIO_FORCEINLINE static NVBIO_HOST_DEVICE void nvbio::vectorized_string< vector_view< const T *, IndexType > >::load ( const string_type string,
const uint32  offset,
T *  vector 
)
inlinestatic

load a vector using the maximum vector width

Definition at line 297 of file vectorized_string.h.

template<typename T , typename IndexType >
template<uint32 VECTOR_WIDTH_T>
NVBIO_FORCEINLINE static NVBIO_HOST_DEVICE uint2 nvbio::vectorized_string< vector_view< const T *, IndexType > >::range ( const string_type string)
inlinestatic

determine the vectorized range of a string with a specified vector width

Definition at line 261 of file vectorized_string.h.

template<typename T , typename IndexType >
NVBIO_FORCEINLINE static NVBIO_HOST_DEVICE uint2 nvbio::vectorized_string< vector_view< const T *, IndexType > >::range ( const string_type string)
inlinestatic

determine the vectorized range of a string using the maximum vector width

Definition at line 289 of file vectorized_string.h.

Member Data Documentation

template<typename T , typename IndexType >
const uint32 nvbio::vectorized_string< vector_view< const T *, IndexType > >::VECTOR_WIDTH = maximum_vector_width<T>::VALUE
static

the intrinsic vector width

Definition at line 255 of file vectorized_string.h.


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