Go to the source code of this file.
Compounds | |
struct | wrap_nvml_handle |
struct | wrap_nvmlPciInfo_t |
Typedefs | |
typedef enum wrap_nvmlReturn_enum | wrap_nvmlReturn_t |
typedef void * | wrap_nvmlDevice_t |
Enumerations | |
enum | wrap_nvmlReturn_enum { WRAPNVML_SUCCESS = 0 } |
Functions | |
wrap_nvml_handle * | wrap_nvml_create () |
int | wrap_nvml_destroy (wrap_nvml_handle *nvmlh) |
int | wrap_nvml_get_gpucount (wrap_nvml_handle *nvmlh, int *gpucount) |
int | wrap_cuda_get_gpucount (wrap_nvml_handle *nvmlh, int *gpucount) |
int | wrap_nvml_get_gpu_name (wrap_nvml_handle *nvmlh, int gpuindex, char *namebuf, int bufsize) |
int | wrap_nvml_get_tempC (wrap_nvml_handle *nvmlh, int gpuindex, unsigned int *tempC) |
int | wrap_nvml_get_fanpcnt (wrap_nvml_handle *nvmlh, int gpuindex, unsigned int *fanpcnt) |
int | wrap_nvml_get_power_usage (wrap_nvml_handle *nvmlh, int gpuindex, unsigned int *milliwatts) |
int | wrap_nvml_get_cpu_affinity (wrap_nvml_handle *nvmlh, int gpuindex, unsigned int cpuSetSize, unsigned long *cpuSet) |
int | wrap_nvml_set_cpu_affinity (wrap_nvml_handle *nvmlh, int gpuindex) |
A trivial little dlopen()-based wrapper library for the NVIDIA NVML library, to allow runtime discovery of NVML on an arbitrary system. This is all very hackish and simple-minded, but it serves my immediate needs in the short term until NVIDIA provides a static NVML wrapper library themselves, hopefully in CUDA 6.5 or maybe sometime shortly after.
Definition in file CUDAWrapNVML.h.
|
Definition at line 34 of file CUDAWrapNVML.h. Referenced by wrap_nvml_create. |
|
Referenced by wrap_nvml_create, wrap_nvml_get_fanpcnt, and wrap_nvml_get_tempC. |
|
Definition at line 30 of file CUDAWrapNVML.h. |
|
Definition at line 267 of file CUDAWrapNVML.cu. |
|
Definition at line 59 of file CUDAWrapNVML.cu. |
|
Definition at line 235 of file CUDAWrapNVML.cu. Referenced by CUDAAccel::~CUDAAccel. |
|
Definition at line 333 of file CUDAWrapNVML.cu. |
|
Definition at line 303 of file CUDAWrapNVML.cu. |
|
Definition at line 272 of file CUDAWrapNVML.cu. |
|
Definition at line 262 of file CUDAWrapNVML.cu. |
|
Definition at line 319 of file CUDAWrapNVML.cu. |
|
Definition at line 287 of file CUDAWrapNVML.cu. |
|
Definition at line 348 of file CUDAWrapNVML.cu. |