code: def cupy_case(fun, synchronize=True):
      common_case(
          cupy_wrapper(fun, synchronize),
          "gpu",
          partial(cupy_compare, fun, synchronize),
          synchronize,
      )
  
imports: import numpy
  import nvidia.dali.ops
  import nvidia.dali.types
  import os
  import random
  from functools import partial
  from nvidia.dali.pipeline import Pipeline
  from nvidia.dali import fn, pipeline_def
  from nvidia.dali.python_function_plugin import current_dali_stream
label_desc: Use image node_id 25 for calling a global function with example usage: cupy_case(fun, synchronize) without return types