NVBIO
|
a dynamic device vector class
#include <vector.h>
Public Types | |
typedef device_tag | system_tag |
typedef thrust::device_vector< T > | base_type |
typedef base_type::const_iterator | const_iterator |
typedef base_type::iterator | iterator |
typedef base_type::value_type | value_type |
typedef nvbio::vector_view< T *, uint64 > | plain_view_type |
typedef nvbio::vector_view < const T *, uint64 > | const_plain_view_type |
Public Methods | |
vector (const size_t size=0, const T val=T()) | |
vector (const thrust::host_vector< T > &v) | |
vector (const thrust::device_vector< T > &v) | |
vector< device_tag, T > & | operator= (const thrust::host_vector< T > &v) |
vector< device_tag, T > & | operator= (const thrust::device_vector< T > &v) |
operator plain_view_type () | |
operator const_plain_view_type () const | |
typedef thrust::device_vector<T> nvbio::vector< device_tag, T >::base_type |
typedef base_type::const_iterator nvbio::vector< device_tag, T >::const_iterator |
typedef nvbio::vector_view<const T*,uint64> nvbio::vector< device_tag, T >::const_plain_view_type |
typedef base_type::iterator nvbio::vector< device_tag, T >::iterator |
typedef nvbio::vector_view<T*,uint64> nvbio::vector< device_tag, T >::plain_view_type |
typedef device_tag nvbio::vector< device_tag, T >::system_tag |
typedef base_type::value_type nvbio::vector< device_tag, T >::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |