Initilization and Cleanup

This page describes the methods that handle NVML initialization and cleanup. More...


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().


Detailed Description

This page describes the methods that handle NVML initialization and cleanup.

It is the user's resonsibility to call nvmlInit() before calling any other methods, and nvmlShutdown() once NVML is no longer being used.


Function Documentation

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.

Returns:

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.

Returns:


Generated on Tue Feb 8 09:10:20 2011