code: def cuda_row_min_in_place(ret, other):
      """CUDA equivalent of row_min_in_place."""
      ny, nx, ncat = ret.shape
      x, y, cat = cuda.grid(3)
      if x < nx and y < ny and cat < ncat:
          if other[y, x, cat] > -1 and (
              ret[y, x, cat] == -1 or other[y, x, cat] < ret[y, x, cat]
          ):
              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 13 for calling a global function with example usage: cuda_row_min_in_place(ret, other) without return types