code: def cudaShutdown():
      #
      # Leave the library loaded, but shutdown the interface
      #
      fn = _cudaGetFunctionPointer("nvmlShutdown")
      ret = fn()
      _cudaCheckReturn(ret)
  
      # Atomically update refcount
      global _cudaLib_refcount
      libLoadLock.acquire()
      if 0 < _cudaLib_refcount:
          _cudaLib_refcount -= 1
      libLoadLock.release()
      return None
  
file_path: autogluon/common/src/autogluon/common/utils/nvutil.py
imports: import os
  import sys
  import threading
  from ctypes import *
label_desc: Use image node_id 7 for calling a global function with example usage: cudaShutdown() and returns: None