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< const char * > Struct Template Reference

Detailed description

template<>
struct nvbio::vectorized_string< const char * >

const char* specialization of the Vectorized String Loading interface

Definition at line 184 of file vectorized_string.h.

#include <vectorized_string.h>

Public Types

typedef const char * string_type
 
typedef char value_type
 
typedef uint64 index_type
 

Static Public Methods

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

Static Public Members

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

Member Typedef Documentation

Definition at line 188 of file vectorized_string.h.

typedef const char* nvbio::vectorized_string< const char * >::string_type

Definition at line 186 of file vectorized_string.h.

typedef char nvbio::vectorized_string< const char * >::value_type

Definition at line 187 of file vectorized_string.h.

Member Function Documentation

template<uint32 VECTOR_WIDTH_T>
NVBIO_FORCEINLINE static NVBIO_HOST_DEVICE void nvbio::vectorized_string< const char * >::load ( const char *  string,
const uint32  offset,
char *  vector 
)
inlinestatic

load a vector with a specified vector width

Definition at line 213 of file vectorized_string.h.

NVBIO_FORCEINLINE static NVBIO_HOST_DEVICE void nvbio::vectorized_string< const char * >::load ( const char *  string,
const uint32  offset,
char *  vector 
)
inlinestatic

load a vector using the maximum vector width

Definition at line 233 of file vectorized_string.h.

template<uint32 VECTOR_WIDTH_T>
NVBIO_FORCEINLINE static NVBIO_HOST_DEVICE uint2 nvbio::vectorized_string< const char * >::range ( const char *  string)
inlinestatic

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

Definition at line 196 of file vectorized_string.h.

NVBIO_FORCEINLINE static NVBIO_HOST_DEVICE uint2 nvbio::vectorized_string< const char * >::range ( const char *  string)
inlinestatic

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

Definition at line 225 of file vectorized_string.h.

Member Data Documentation

const uint32 nvbio::vectorized_string< const char * >::VECTOR_WIDTH = maximum_vector_width<char>::VALUE
static

the intrinsic vector width

Definition at line 190 of file vectorized_string.h.


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