code: def gpu_grouped_window_sizes_from_offset(
      arr, window_sizes, group_starts, offset
  ):
      i = cuda.grid(1)
      j = i
      if i < arr.size:
          while j > (group_starts[i] - 1):
              if (arr[i] - arr[j]) >= offset:
                  break
              j -= 1
          window_sizes[i] = i - j
  
file_path: cudf/python/cudf/cudf/utils/cudautils.py
imports: from pickle import dumps
  import cachetools
  from numba import cuda
  from numba.np import numpy_support
  from cudf.utils._numba import _CUDFNumbaConfig
label_desc: Use image node_id 3 for calling a global function with example usage: gpu_grouped_window_sizes_from_offset(arr, window_sizes, group_starts, offset) without return types