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

CUDAUtil.cu File Reference

#include <string.h>
#include <stdio.h>
#include "CUDAKernels.h"
#include "WKFThreads.h"

Go to the source code of this file.

Functions

int vmd_cuda_drv_runtime_compatible ()
int vmd_cuda_device_props (int dev, char *name, int namelen, int *devmajor, int *devminor, unsigned long *memb, int *clockratekhz, int *smcount, int *overlap, int *kerneltimeout, int *canmaphostmem, int *computemode)
int vmd_cuda_num_devices (int *numdev)
void * vmd_cuda_devpool_setdevice (void *voidparms)


Function Documentation

int vmd_cuda_device_props int    dev,
char *    name,
int    namelen,
int *    devmajor,
int *    devminor,
unsigned long *    memb,
int *    clockratekhz,
int *    smcount,
int *    overlap,
int *    kerneltimeout,
int *    canmaphostmem,
int *    computemode
 

Definition at line 54 of file CUDAUtil.cu.

References vmd_cuda_drv_runtime_compatible, VMDCUDA_COMPUTEMODE_DEFAULT, VMDCUDA_ERR_EMUDEVICE, VMDCUDA_ERR_GENERAL, and VMDCUDA_ERR_NONE.

Referenced by CUDAAccel::CUDAAccel, and vmd_cuda_num_devices.

void* vmd_cuda_devpool_setdevice void *    voidparms
 

Definition at line 163 of file CUDAUtil.cu.

References NULL, wkf_threadpool_worker_getdata, wkf_threadpool_worker_getdevid, wkf_threadpool_worker_getid, and wkf_threadpool_worker_setdevspeed.

int vmd_cuda_drv_runtime_compatible   [static]
 

Definition at line 30 of file CUDAUtil.cu.

References VMDCUDA_ERR_DRVMISMATCH, VMDCUDA_ERR_NODEVICES, and VMDCUDA_ERR_NONE.

Referenced by vmd_cuda_device_props, and vmd_cuda_num_devices.

int vmd_cuda_num_devices int *    numdev
 

Definition at line 118 of file CUDAUtil.cu.

References NULL, vmd_cuda_device_props, vmd_cuda_drv_runtime_compatible, VMDCUDA_ERR_DRVMISMATCH, VMDCUDA_ERR_EMUDEVICE, VMDCUDA_ERR_NODEVICES, VMDCUDA_ERR_NONE, and VMDCUDA_ERR_SOMEDEVICES.

Referenced by CUDAAccel::CUDAAccel, text_cmd_vmdbench, vmd_cuda_vol_cpotential, and vmdinfo_tcl.


Generated on Tue Nov 24 01:41:14 2009 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002