code: def ensure_gpu_capability(device_id):
      gpuflag = get_compute_capability(device_id) >= 3.0
      if gpuflag is False:
          raise RuntimeError(
              "Device "
              + str(device_id)
              + " does not have CUDA compute "
              + "capability 3.0 or greater"
          )
  
imports: from builtins import str
  from neon import logger
label_desc: Use image node_id 2 for calling a global function with example usage: ensure_gpu_capability(device_id) without return types