NVBIO
|
Definition at line 256 of file mgpucontext.h.
#include <mgpucontext.h>
Public Methods | |
int * | PageLocked () |
cudaStream_t | AuxStream () const |
int | NumSMs () |
int | ArchVersion () |
int | PTXVersion () |
std::string | DeviceString () |
cudaStream_t | Stream () const |
void | SetActive () |
CudaEvent & | Event () |
CudaTimer & | Timer () |
void | Start () |
double | Split () |
double | Throughput (int count, int numIterations) |
virtual long | AddRef () |
virtual void | Release () |
Public Methods inherited from mgpu::CudaMemSupport | |
CudaDevice & | Device () |
void | SetAllocator (CudaAlloc *alloc) |
CudaAlloc * | GetAllocator () |
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 () |
Static Public Methods | |
static CudaContext & | StandardContext (int ordinal=-1) |
Friends | |
struct | ContextGroup |
ContextPtr | CreateCudaDevice (int ordinal) |
ContextPtr | CreateCudaDeviceStream (int ordinal) |
ContextPtr | CreateCudaDeviceAttachStream (int ordinal, cudaStream_t stream) |
Additional Inherited Members | |
Public Members inherited from mgpu::CudaMemSupport | |
size_t | count |
MGPU_MEM(T) Malloc(const std T | fill |
T | first |
T T | step |
T | min |
T T | max |
Func | f |
Proteced Methods inherited from mgpu::CudaMemSupport | |
CudaMemSupport () | |
Protected Members inherited from mgpu::CudaMemSupport | |
AllocPtr | _alloc |
|
inlinevirtual |
Reimplemented from mgpu::CudaBase.
Definition at line 291 of file mgpucontext.h.
|
inline |
Definition at line 271 of file mgpucontext.h.
|
inline |
Definition at line 268 of file mgpucontext.h.
|
inline |
Definition at line 273 of file mgpucontext.h.
|
inline |
Definition at line 281 of file mgpucontext.h.
|
inline |
Definition at line 270 of file mgpucontext.h.
|
inline |
Definition at line 267 of file mgpucontext.h.
|
inline |
Definition at line 272 of file mgpucontext.h.
|
inlinevirtual |
Reimplemented from mgpu::CudaBase.
Definition at line 294 of file mgpucontext.h.
|
inline |
Definition at line 278 of file mgpucontext.h.
|
inline |
Definition at line 286 of file mgpucontext.h.
|
static |
|
inline |
Definition at line 285 of file mgpucontext.h.
|
inline |
Definition at line 275 of file mgpucontext.h.
|
inline |
Definition at line 287 of file mgpucontext.h.
|
inline |
Definition at line 284 of file mgpucontext.h.
|
friend |
Definition at line 257 of file mgpucontext.h.
|
friend |
|
friend |
|
friend |