code: def cuda_nanmin_n_in_place_4d(ret, other):
      """CUDA equivalent of nanmin_n_in_place_4d."""
      ny, nx, ncat, _n = ret.shape
      x, y, cat = cuda.grid(3)
      if x < nx and y < ny and cat < ncat:
          _cuda_nanmin_n_impl(ret[y, x, cat], other[y, x, cat])
  
imports: from __future__ import annotations
  from math import ceil, isnan
  from packaging.version import Version
  import numba
  import numpy
  from numba import cuda
label_desc: Use image node_id 11 for calling a global function with example usage: cuda_nanmin_n_in_place_4d(ret, other) without return types