cuda.bindings.nvml.shutdown#
- cuda.bindings.nvml.shutdown()#
Shut down and cleanup NVML Library state.
This will shut down and cleanup NVML Library state by releasing all device and library resources previously allocated with
init_v2()orinit_with_flags(). This should be called after all NVML work is done, and once for each call toinit_v2()orinit_with_flags(). Complete shutdown will only occur when the reference count of all prior NVML initializations reaches zero. No error will be reported if this is called more times thaninit_v2()orinit_with_flags(). For all products.See also
nvmlShutdown