NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
thrust_view.h File Reference
#include <nvbio/basic/types.h>
#include <nvbio/basic/vector_view.h>
#include <thrust/host_vector.h>
#include <thrust/device_vector.h>

Go to the source code of this file.

Classes

struct  nvbio::device_view_subtype< thrust::device_vector< T > >
 
struct  nvbio::plain_view_subtype< thrust::host_vector< T > >
 
struct  nvbio::plain_view_subtype< thrust::device_vector< T > >
 
struct  nvbio::plain_view_subtype< const thrust::host_vector< T > >
 
struct  nvbio::plain_view_subtype< const thrust::device_vector< T > >
 

Namespaces

 nvbio
 Define a vector_view POD type and plain_view() for std::vector.
 

Functions

template<typename T >
vector_view< T *, uint64 > nvbio::device_view (thrust::device_vector< T > &vec)
 
template<typename T >
vector_view< const T *, uint64 > nvbio::device_view (const thrust::device_vector< T > &vec)
 
template<typename T >
vector_view< T *, uint64 > nvbio::plain_view (thrust::device_vector< T > &vec)
 
template<typename T >
vector_view< const T *, uint64 > nvbio::plain_view (const thrust::device_vector< T > &vec)
 
template<typename T >
vector_view< T *, uint64 > nvbio::plain_view (thrust::host_vector< T > &vec)
 
template<typename T >
vector_view< const T *, uint64 > nvbio::plain_view (const thrust::host_vector< T > &vec)
 
template<typename T >
T * nvbio::raw_pointer (thrust::device_vector< T > &vec)
 
template<typename T >
const T * nvbio::raw_pointer (const thrust::device_vector< T > &vec)
 
template<typename T >
T * nvbio::raw_pointer (thrust::host_vector< T > &vec)
 
template<typename T >
const T * nvbio::raw_pointer (const thrust::host_vector< T > &vec)
 
template<typename T >
thrust::device_vector< T >
::iterator 
nvbio::begin (thrust::device_vector< T > &vec)
 
template<typename T >
thrust::device_vector< T >
::const_iterator 
nvbio::begin (const thrust::device_vector< T > &vec)
 
template<typename T >
thrust::host_vector< T >::iterator nvbio::begin (thrust::host_vector< T > &vec)
 
template<typename T >
thrust::host_vector< T >
::const_iterator 
nvbio::begin (const thrust::host_vector< T > &vec)