code: def has_struct_arg_count_bug(dev, ctx=None):
      """Checks whether the device is expected to have the
      `argument counting bug <https://github.com/pocl/pocl/issues/197>`__.
      """
  
      if dev.platform.name == "Apple" and dev.type & cl.device_type.CPU:
          return "apple"
      if dev.platform.name == "Portable Computing Language":
          pocl_version = get_pocl_version(
              dev.platform, fallback_value=(0, 14)
          )
          if pocl_version <= (0, 13):
              return "pocl"
          elif pocl_version <= (
              0,
              14,
          ) and _check_for_pocl_arg_count_bug(dev, ctx):
              return "pocl"
  
      return False
  
imports: import pyopencl
  from pytools import memoize
  from typing import Dict, Optional, Tuple
label_desc: Use image node_id 14 for calling a global function with example usage: has_struct_arg_count_bug(dev, ctx) and returns: False, str, str, str