NVBIO
|
Definition at line 143 of file mgpucontext.h.
#include <mgpucontext.h>
Public Methods | |
~CudaDeviceMem () | |
const T * | get () const |
T * | get () |
operator const T * () const | |
operator T * () | |
size_t | Size () const |
cudaError_t | ToDevice (T *data, size_t count) const |
cudaError_t | ToDevice (size_t srcOffest, size_t bytes, void *data) const |
cudaError_t | ToHost (T *data, size_t count) const |
cudaError_t | ToHost (std::vector< T > &data) const |
cudaError_t | ToHost (std::vector< T > &data, size_t count) const |
cudaError_t | ToHost (size_t srcOffset, size_t bytes, void *data) const |
cudaError_t | FromDevice (const T *data, size_t count) |
cudaError_t | FromDevice (size_t dstOffset, size_t bytes, const void *data) |
cudaError_t | FromHost (const std::vector< T > &data) |
cudaError_t | FromHost (const std::vector< T > &data, size_t count) |
cudaError_t | FromHost (const T *data, size_t count) |
cudaError_t | FromHost (size_t destOffset, size_t bytes, const void *data) |
Public Methods inherited from mgpu::CudaBase | |
CudaBase () | |
virtual | ~CudaBase () |
virtual long | AddRef () |
virtual void | Release () |
Friends | |
class | CudaMemSupport |
class | CudaContext |
Additional Inherited Members | |
Proteced Methods inherited from mgpu::noncopyable | |
noncopyable () | |
~noncopyable () | |
mgpu::CudaDeviceMem< T >::~CudaDeviceMem | ( | ) |
Definition at line 395 of file mgpucontext.h.
cudaError_t mgpu::CudaDeviceMem< T >::FromDevice | ( | const T * | data, |
size_t | count | ||
) |
Definition at line 360 of file mgpucontext.h.
cudaError_t mgpu::CudaDeviceMem< T >::FromDevice | ( | size_t | dstOffset, |
size_t | bytes, | ||
const void * | data | ||
) |
Definition at line 364 of file mgpucontext.h.
cudaError_t mgpu::CudaDeviceMem< T >::FromHost | ( | const std::vector< T > & | data) |
Definition at line 379 of file mgpucontext.h.
cudaError_t mgpu::CudaDeviceMem< T >::FromHost | ( | const std::vector< T > & | data, |
size_t | count | ||
) |
Definition at line 372 of file mgpucontext.h.
cudaError_t mgpu::CudaDeviceMem< T >::FromHost | ( | const T * | data, |
size_t | count | ||
) |
Definition at line 383 of file mgpucontext.h.
cudaError_t mgpu::CudaDeviceMem< T >::FromHost | ( | size_t | destOffset, |
size_t | bytes, | ||
const void * | data | ||
) |
Definition at line 387 of file mgpucontext.h.
|
inline |
Definition at line 148 of file mgpucontext.h.
|
inline |
Definition at line 149 of file mgpucontext.h.
|
inline |
Definition at line 151 of file mgpucontext.h.
|
inline |
Definition at line 152 of file mgpucontext.h.
|
inline |
Definition at line 155 of file mgpucontext.h.
cudaError_t mgpu::CudaDeviceMem< T >::ToDevice | ( | T * | data, |
size_t | count | ||
) | const |
Definition at line 316 of file mgpucontext.h.
cudaError_t mgpu::CudaDeviceMem< T >::ToDevice | ( | size_t | srcOffest, |
size_t | bytes, | ||
void * | data | ||
) | const |
Definition at line 320 of file mgpucontext.h.
cudaError_t mgpu::CudaDeviceMem< T >::ToHost | ( | T * | data, |
size_t | count | ||
) | const |
Definition at line 332 of file mgpucontext.h.
cudaError_t mgpu::CudaDeviceMem< T >::ToHost | ( | std::vector< T > & | data) | const |
Definition at line 343 of file mgpucontext.h.
cudaError_t mgpu::CudaDeviceMem< T >::ToHost | ( | std::vector< T > & | data, |
size_t | count | ||
) | const |
Definition at line 336 of file mgpucontext.h.
cudaError_t mgpu::CudaDeviceMem< T >::ToHost | ( | size_t | srcOffset, |
size_t | bytes, | ||
void * | data | ||
) | const |
Definition at line 347 of file mgpucontext.h.
|
friend |
Definition at line 174 of file mgpucontext.h.
|
friend |
Definition at line 144 of file mgpucontext.h.