code: def _get_block_size(check_warp_size=False):
      if check_warp_size:
          dev = cupy.cuda.runtime.getDevice()
          device_properties = cupy.cuda.runtime.getDeviceProperties(dev)
          return int(device_properties["warpSize"])
      else:
          return 32
  
imports: import math
  import numbers
  import os
  import cupy
  from ._util import _get_inttype
label_desc: Use image node_id 3 for calling a global function with example usage: _get_block_size(check_warp_size) and returns: int, int