code: def grouped_window_sizes_from_offset(arr, group_starts, offset):
      window_sizes = cuda.device_array(shape=(arr.shape), dtype="int32")
      if arr.size > 0:
          with _CUDFNumbaConfig():
              gpu_grouped_window_sizes_from_offset.forall(arr.size)(
                  arr, window_sizes, group_starts, offset
              )
      return window_sizes
  
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 4 for calling a global function with example usage: grouped_window_sizes_from_offset(arr, group_starts, offset) and returns: window_sizes