Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

CUDAAccel Class Reference

manages enumeration and initialization of CUDA devices. More...

#include <CUDAAccel.h>

List of all members.

Public Methods

 CUDAAccel (void)
virtual ~CUDAAccel (void)
void print_cuda_devices (void)
int num_devices (void)
int device_index (int dev)
const char * device_name (int dev)
int device_version_major (int dev)
int device_version_minor (int dev)
unsigned long device_membytes (int dev)
float device_clock_ghz (int dev)
int device_sm_count (int dev)
int device_integratedgpu (int dev)
int device_asyncenginecount (int dev)
int device_kerneltimeoutenabled (int dev)
int device_canmaphostmem (int dev)
int device_computemode (int dev)
int device_spdpfpperfratio (int dev)
int device_pageablememaccess (int dev)
int device_pageablememaccessuseshostpagetables (int dev)
int devpool_launch (void *fctn(void *), void *parms, int blocking)
int devpool_wait (void)
wkf_threadpool_tget_cuda_devpool (void)


Detailed Description

manages enumeration and initialization of CUDA devices.

Definition at line 57 of file CUDAAccel.h.


Constructor & Destructor Documentation

CUDAAccel::CUDAAccel void   
 

Definition at line 42 of file CUDAAccel.C.

References ResizeArray< cudadevprops >::append, cudadevprops::asyncenginecount, cudadevprops::canmaphostmem, cudadevprops::clockratekhz, cudadevprops::computemode, cudadevprops::deviceid, cudadevprops::integratedgpu, cudadevprops::kernelexectimeoutenabled, cudadevprops::major, cudadevprops::membytes, cudadevprops::minor, cudadevprops::name, NULL, cudadevprops::pageablememaccess, cudadevprops::pageablememaccessuseshostpagetables, PROFILE_POP_RANGE, PROFILE_PUSH_RANGE, cudadevprops::smcount, cudadevprops::spdpfpperfratio, vmd_cuda_device_props, vmd_cuda_num_devices, VMDCUDA_ERR_DRVMISMATCH, VMDCUDA_ERR_NODEVICES, VMDCUDA_ERR_NONE, VMDCUDA_ERR_SOMEDEVICES, and wrap_nvml_create.

CUDAAccel::~CUDAAccel void    [virtual]
 

Definition at line 176 of file CUDAAccel.C.

References NULL, and wrap_nvml_destroy.


Member Function Documentation

int CUDAAccel::device_asyncenginecount int    dev
 

Definition at line 542 of file CUDAAccel.C.

Referenced by print_cuda_devices.

int CUDAAccel::device_canmaphostmem int    dev
 

Definition at line 554 of file CUDAAccel.C.

Referenced by print_cuda_devices.

float CUDAAccel::device_clock_ghz int    dev
 

Definition at line 524 of file CUDAAccel.C.

Referenced by print_cuda_devices.

int CUDAAccel::device_computemode int    dev
 

Definition at line 560 of file CUDAAccel.C.

Referenced by print_cuda_devices.

int CUDAAccel::device_index int    dev
 

Definition at line 496 of file CUDAAccel.C.

Referenced by print_cuda_devices.

int CUDAAccel::device_integratedgpu int    dev
 

Definition at line 536 of file CUDAAccel.C.

Referenced by print_cuda_devices.

int CUDAAccel::device_kerneltimeoutenabled int    dev
 

Definition at line 548 of file CUDAAccel.C.

Referenced by print_cuda_devices.

unsigned long CUDAAccel::device_membytes int    dev
 

Definition at line 518 of file CUDAAccel.C.

Referenced by print_cuda_devices.

const char * CUDAAccel::device_name int    dev
 

Definition at line 500 of file CUDAAccel.C.

References NULL.

Referenced by print_cuda_devices.

int CUDAAccel::device_pageablememaccess int    dev
 

Definition at line 572 of file CUDAAccel.C.

Referenced by print_cuda_devices.

int CUDAAccel::device_pageablememaccessuseshostpagetables int    dev
 

Definition at line 578 of file CUDAAccel.C.

Referenced by print_cuda_devices.

int CUDAAccel::device_sm_count int    dev
 

Definition at line 530 of file CUDAAccel.C.

Referenced by print_cuda_devices.

int CUDAAccel::device_spdpfpperfratio int    dev
 

Definition at line 566 of file CUDAAccel.C.

Referenced by print_cuda_devices.

int CUDAAccel::device_version_major int    dev
 

Definition at line 506 of file CUDAAccel.C.

Referenced by print_cuda_devices.

int CUDAAccel::device_version_minor int    dev
 

Definition at line 512 of file CUDAAccel.C.

Referenced by print_cuda_devices.

int CUDAAccel::devpool_launch void *fctn(void *)   ,
void *    parms,
int    blocking
 

Definition at line 246 of file CUDAAccel.C.

References wkf_threadpool_launch.

int CUDAAccel::devpool_wait void   
 

Definition at line 253 of file CUDAAccel.C.

References wkf_threadpool_wait.

wkf_threadpool_t* CUDAAccel::get_cuda_devpool void    [inline]
 

Definition at line 104 of file CUDAAccel.h.

Referenced by DrawMolecule::cuda_devpool, measure_rdf, measure_rmsdmat_qcp_ooc, and text_cmd_vmdbench.

int CUDAAccel::num_devices void   
 

Definition at line 492 of file CUDAAccel.C.

Referenced by VMDApp::VMDinit.

void CUDAAccel::print_cuda_devices void   
 

Definition at line 260 of file CUDAAccel.C.

References device_asyncenginecount, device_canmaphostmem, device_clock_ghz, device_computemode, device_index, device_integratedgpu, device_kerneltimeoutenabled, device_membytes, device_name, device_pageablememaccess, device_pageablememaccessuseshostpagetables, device_sm_count, device_spdpfpperfratio, device_version_major, device_version_minor, NULL, vmd_cuda_peer_matrix, and VMDCUDA_ERR_NONE.

Referenced by VMDApp::VMDinit.


The documentation for this class was generated from the following files:
Generated on Fri Nov 8 02:46:57 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002