NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Methods | Public Members | Proteced Methods | Protected Members | Friends | List of all members
mgpu::CudaMemSupport Class Reference

Detailed description

Definition at line 191 of file mgpucontext.h.

#include <mgpucontext.h>

Inheritance diagram for mgpu::CudaMemSupport:
mgpu::CudaBase mgpu::noncopyable mgpu::CudaContext

Public Methods

CudaDeviceDevice ()
 
void SetAllocator (CudaAlloc *alloc)
 
CudaAllocGetAllocator ()
 
template<typename T >
 MGPU_MEM (T) Malloc(size_t count)
 
template<typename T >
 MGPU_MEM (T) Malloc(const T *data
 
template<typename T >
 MGPU_MEM (T) FillAscending(size_t count
 
template<typename T >
 MGPU_MEM (T) GenRandom(size_t count
 
template<typename T >
 MGPU_MEM (T) SortRandom(size_t count
 
template<typename T , typename Func >
 MGPU_MEM (T) GenFunc(size_t count
 
- Public Methods inherited from mgpu::CudaBase
 CudaBase ()
 
virtual ~CudaBase ()
 
virtual long AddRef ()
 
virtual void Release ()
 

Public Members

size_t count
 
MGPU_MEM(T) Malloc(const std T fill
 
first
 
T T step
 
min
 
T T max
 
Func f
 

Proteced Methods

 CudaMemSupport ()
 

Protected Members

AllocPtr _alloc
 

Friends

class CudaDevice
 
class CudaContext
 

Constructor & Destructor Documentation

mgpu::CudaMemSupport::CudaMemSupport ( )
inlineprotected

Definition at line 232 of file mgpucontext.h.

Member Function Documentation

CudaDevice& mgpu::CudaMemSupport::Device ( )
inline

Definition at line 195 of file mgpucontext.h.

CudaAlloc* mgpu::CudaMemSupport::GetAllocator ( )
inline

Definition at line 204 of file mgpucontext.h.

template<typename T >
mgpu::CudaMemSupport::MGPU_MEM ( )
template<typename T >
mgpu::CudaMemSupport::MGPU_MEM ( ) const
template<typename T >
mgpu::CudaMemSupport::MGPU_MEM ( )
template<typename T >
mgpu::CudaMemSupport::MGPU_MEM ( )
template<typename T >
mgpu::CudaMemSupport::MGPU_MEM ( )
template<typename T , typename Func >
mgpu::CudaMemSupport::MGPU_MEM ( )
void mgpu::CudaMemSupport::SetAllocator ( CudaAlloc alloc)
inline

Definition at line 198 of file mgpucontext.h.

Friends And Related Function Documentation

friend class CudaContext
friend

Definition at line 193 of file mgpucontext.h.

friend class CudaDevice
friend

Definition at line 192 of file mgpucontext.h.

Member Data Documentation

AllocPtr mgpu::CudaMemSupport::_alloc
protected

Definition at line 233 of file mgpucontext.h.

size_t mgpu::CudaMemSupport::count

Definition at line 211 of file mgpucontext.h.

Func mgpu::CudaMemSupport::f

Definition at line 229 of file mgpucontext.h.

MGPU_MEM (T) Malloc( const std T mgpu::CudaMemSupport::fill

Definition at line 217 of file mgpucontext.h.

T mgpu::CudaMemSupport::first

Definition at line 220 of file mgpucontext.h.

T T mgpu::CudaMemSupport::max

Definition at line 223 of file mgpucontext.h.

T mgpu::CudaMemSupport::min

Definition at line 223 of file mgpucontext.h.

T T mgpu::CudaMemSupport::step

Definition at line 220 of file mgpucontext.h.


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