code: def _get_run_fn_gpu(self, run_fn, types, dims):
      nvvm_options = {"fastmath": False, "opt": 3}
  
      cuda_arguments = []
      for dali_type, ndim in zip(types, dims):
          cuda_arguments.append(
              numba_types.Array(_to_numba[dali_type], ndim, "C")
          )
  
      if LooseVersion(nb.__version__) < LooseVersion("0.57.0"):
          cres = cuda.compiler.compile_cuda(
              run_fn, numba_types.void, cuda_arguments
          )
      else:
          pipeline = Pipeline.current()
          device_id = pipeline.device_id
          old_device = nb.cuda.api.get_current_device().id
          cc = nb.cuda.api.select_device(device_id).compute_capability
          nb.cuda.api.select_device(old_device)
          cres = cuda.compiler.compile_cuda(
              run_fn, numba_types.void, cuda_arguments, cc=cc
          )
  
      tgt_ctx = cres.target_context
      code = run_fn.__code__
      filename = code.co_filename
      linenum = code.co_firstlineno
      if LooseVersion(nb.__version__) < LooseVersion("0.57.0"):
          nvvm_options["debug"] = False
          nvvm_options["lineinfo"] = False
          lib, _ = tgt_ctx.prepare_cuda_kernel(
              cres.library,
              cres.fndesc,
              True,
              nvvm_options,
              filename,
              linenum,
          )
      else:
          lib, _ = tgt_ctx.prepare_cuda_kernel(
              cres.library,
              cres.fndesc,
              False,
              True,
              nvvm_options,
              filename,
              linenum,
          )
  
      handle = lib.get_cufunc().handle
      return handle.value
  
imports: from distutils.version import LooseVersion
  from nvidia.dali import backend
  from nvidia.dali.pipeline import Pipeline
  from nvidia.dali.data_node import DataNode
  from nvidia.dali import ops
  from nvidia.dali import types
  from numba import types
  from numba import njit, cfunc, carray, cuda
  import numpy
  import numba
label_desc: Use image node_id 11 for calling the NumbaFunction obj's underlying member method code with example usage: obj._get_run_fn_gpu(run_fn, types, dims) and returns: handle