code: def _ensure_compatible_cuda_version():
      try:
          cuda_version = cuda.runtime.get_version()
      except cuda.cudadrv.runtime.CudaRuntimeAPIError:
          cuda_version = "n/a"
  
      unsupported_cuda_version = (11, 4)
  
      if cuda_version == unsupported_cuda_version:
          ver_string = ".".join(
              [str(n) for n in unsupported_cuda_version]
          )
          raise NotImplementedError(
              "k_truss is not currently supported in CUDA"
              f" {ver_string} environments."
          )
  
file_path: cugraph/python/cugraph/cugraph/community/ktruss_subgraph.py
imports: from cugraph.structure.graph_classes import Graph
  from typing import Union
  from cugraph.utilities import ensure_cugraph_obj_for_nx, cugraph_to_nx
  from pylibcugraph import k_truss_subgraph
  from pylibcugraph import ResourceHandle
  import warnings
  from numba import cuda
  import cudf
  from cugraph.utilities.utils import import_optional
label_desc: Use image node_id 1 for calling a global function with example usage: _ensure_compatible_cuda_version() without return types