code: def test_gpu_properties():
      for device in C.device.all_devices():
          if device.type() != C.device.DeviceKind.GPU:
              continue
          props = C.get_gpu_properties(device)
          assert props.device_id == device.id()
          assert props.cuda_cores > 0
          assert props.total_memory > 0
          assert props.version_major > 0
  
imports: import numpy
  import pytest
  import cntk
  from multiprocessing import Process, Queue
label_desc: Use image node_id 7 for calling a global function with example usage: test_gpu_properties() without return types