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

Detailed description

Definition at line 107 of file mgpucontext.h.

#include <mgpucontext.h>

Inheritance diagram for mgpu::CudaDevice:
mgpu::noncopyable

Public Methods

const cudaDeviceProp & Prop () const
 
int Ordinal () const
 
int NumSMs () const
 
int ArchVersion () const
 
int PTXVersion () const
 
std::string DeviceString () const
 
void SetActive ()
 

Static Public Methods

static int DeviceCount ()
 
static CudaDeviceByOrdinal (int ordinal)
 
static CudaDeviceSelected ()
 

Friends

struct DeviceGroup
 

Additional Inherited Members

- Proteced Methods inherited from mgpu::noncopyable
 noncopyable ()
 
 ~noncopyable ()
 

Member Function Documentation

int mgpu::CudaDevice::ArchVersion ( ) const
inline

Definition at line 118 of file mgpucontext.h.

static CudaDevice& mgpu::CudaDevice::ByOrdinal ( int  ordinal)
static
static int mgpu::CudaDevice::DeviceCount ( )
static
std::string mgpu::CudaDevice::DeviceString ( ) const
int mgpu::CudaDevice::NumSMs ( ) const
inline

Definition at line 117 of file mgpucontext.h.

int mgpu::CudaDevice::Ordinal ( ) const
inline

Definition at line 116 of file mgpucontext.h.

const cudaDeviceProp& mgpu::CudaDevice::Prop ( ) const
inline

Definition at line 115 of file mgpucontext.h.

int mgpu::CudaDevice::PTXVersion ( ) const
inline

Definition at line 121 of file mgpucontext.h.

static CudaDevice& mgpu::CudaDevice::Selected ( )
static
void mgpu::CudaDevice::SetActive ( )

Friends And Related Function Documentation

friend struct DeviceGroup
friend

Definition at line 108 of file mgpucontext.h.


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