Functions | |
nvmlReturn_t DECLDIR | nvmlInit () |
Initialize NVML by discovering and attaching to all GPU devices in the system. | |
nvmlReturn_t DECLDIR | nvmlShutdown () |
Shut down NVML by releasing all GPU resources previously allocated with nvmlInit(). |
It is the user's resonsibility to call nvmlInit() before calling any other methods, and nvmlShutdown() once NVML is no longer being used.
nvmlReturn_t DECLDIR nvmlInit | ( | ) |
Initialize NVML by discovering and attaching to all GPU devices in the system.
This method should be called once before invoking any other methods in the library.
nvmlReturn_t DECLDIR nvmlShutdown | ( | ) |
Shut down NVML by releasing all GPU resources previously allocated with nvmlInit().
This method should be called after NVML work is done.