code: def _get_backend_kernel(dtype, grid, block, k_type):
      kernel = _cupy_kernel_cache[(str(dtype), k_type)]
      if kernel:
          if k_type == "boolrelextrema_1D":
              return _cupy_boolrelextrema_1d_wrapper(
                  grid, block, kernel
              )
          else:
              return _cupy_boolrelextrema_2d_wrapper(
                  grid, block, kernel
              )
      else:
          raise ValueError(
              "Kernel {} not found in _cupy_kernel_cache".format(k_type)
          )
  
file_path: cusignal/python/cusignal/peak_finding/_peak_finding_cuda.py
imports: import cupy
  from ..convolution.convolution_utils import _iDivUp
  from ..utils._caches import _cupy_kernel_cache
  from ..utils.helper_tools import _get_function, _get_tpb_bpg, _print_atts
label_desc: Use image node_id 2 for calling a global function with example usage: _get_backend_kernel(dtype, grid, block, k_type) and returns: _cupy_boolrelextrema_1d_wrapper, _cupy_boolrelextrema_2d_wrapper