class_docstr: Creates a context to query information
  
  Example:
  
      with NVMLContext() as ctx:
          num_gpus = ctx.num_devices()
          for device in ctx.devices():
              print(device.memory())
              print(device.utilization())
docstr: Destroy current context
docstr_tok: ["Destroy","current","context"]
code: def __exit__(self, type, value, tb):
      """Destroy current context"""
      _check_return(_NVML.get_function("nvmlShutdown")())
  
imports: import threading
  from ctypes import CDLL, POINTER, Structure, byref, c_uint, c_ulonglong, create_string_buffer
label_desc: Use image node_id 2 for calling the NVMLContext obj's underlying member method code with example usage: obj.__exit__(type, value, tb) without return types