code: def test_nvutil():
      device_info = nvutils.get_device_info(0)
      assert device_info.uuid is not None
  
      # run something
      _ = cupy.ones(10)
  
      handle = nvutils.get_handle_by_index(0)
      assert nvutils._running_process_matches(handle)
      assert nvutils.get_cuda_context().has_context
  
      info = nvutils.get_index_and_uuid(0)
      info2 = nvutils.get_index_and_uuid(info.uuid)
      assert info.device_index == info2.device_index
      assert info.uuid == info2.uuid
  
imports: from ...tests.core import require_cupy
  from ...utils import lazy_import
  from ..None import nvutils
label_desc: Use image node_id 1 for calling a global function with example usage: test_nvutil() without return types