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< string_type > Struct Template Reference

Detailed description

template< typename string_type>
struct nvbio::vectorized_string< string_type >

Vectorized String Loading interface

Definition at line 108 of file vectorized_string.h.

#include <vectorized_string.h>

Public Types

typedef string_traits
< string_type >::value_type 
value_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, value_type *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, value_type *vector)
 

Static Public Members

static const uint32 VECTOR_WIDTH = 1u
 the intrinsic vector width - this is somewhat arbitrarily defined, as for generic types we just manually load the blocks More...
 

Member Typedef Documentation

template<typename string_type >
typedef string_traits<string_type>::value_type nvbio::vectorized_string< string_type >::value_type

Definition at line 110 of file vectorized_string.h.

Member Function Documentation

template<typename string_type >
template<uint32 VECTOR_WIDTH_T>
NVBIO_FORCEINLINE static NVBIO_HOST_DEVICE void nvbio::vectorized_string< string_type >::load ( const string_type &  string,
const uint32  offset,
value_type vector 
)
inlinestatic

load a vector with a specified vector width

Definition at line 128 of file vectorized_string.h.

template<typename string_type >
NVBIO_FORCEINLINE static NVBIO_HOST_DEVICE void nvbio::vectorized_string< string_type >::load ( const string_type &  string,
const uint32  offset,
value_type vector 
)
inlinestatic

load a vector using the maximum vector width

Definition at line 150 of file vectorized_string.h.

template<typename string_type >
template<uint32 VECTOR_WIDTH_T>
NVBIO_FORCEINLINE static NVBIO_HOST_DEVICE uint2 nvbio::vectorized_string< string_type >::range ( const string_type &  string)
inlinestatic

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

Definition at line 118 of file vectorized_string.h.

template<typename string_type >
NVBIO_FORCEINLINE static NVBIO_HOST_DEVICE uint2 nvbio::vectorized_string< string_type >::range ( const string_type &  string)
inlinestatic

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

Definition at line 142 of file vectorized_string.h.

Member Data Documentation

template<typename string_type >
const uint32 nvbio::vectorized_string< string_type >::VECTOR_WIDTH = 1u
static

the intrinsic vector width - this is somewhat arbitrarily defined, as for generic types we just manually load the blocks

Definition at line 112 of file vectorized_string.h.


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