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

Go to the source code of this file.

Classes

struct  nvbio::cuda::host_device_buffer< T >
 
struct  nvbio::cuda::host_device_buffer_zero_copy< T >
 
struct  nvbio::cuda::host_device_buffer_sync< T >
 

Namespaces

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

Functions

template<typename T >
void nvbio::cuda::copy (const thrust::device_vector< T > &dvec, thrust::host_vector< T > &hvec)
 
template<typename T >
void nvbio::cuda::copy (host_device_buffer< T > &dvec, thrust::host_vector< T > &hvec)
 
template<typename T >
const T * nvbio::cuda::device_pointer (const thrust::device_vector< T > &dvec)
 
template<typename T >
T * nvbio::cuda::device_pointer (thrust::device_vector< T > &dvec)
 
template<typename T >
const T * nvbio::cuda::device_pointer (const host_device_buffer< T > &dvec)
 
template<typename T >
T * nvbio::cuda::device_pointer (host_device_buffer< T > &dvec)