code: def _xfail_if_pocl(plat, up_to_version, msg="unsupported by PoCL"):
      if plat.vendor == "The pocl project":
          if (
              up_to_version is None
              or get_pocl_version(plat) <= up_to_version
          ):
              pytest.xfail(msg)
  
imports: import numpy
  import numpy.linalg
  import pytest
  import pyopencl
  import pyopencl.array
  import pyopencl.cltypes
  import pyopencl.clrandom
  from pyopencl.tools import pytest_generate_tests_for_pyopencl, ImmediateAllocator, DeferredAllocator
  from pyopencl.characterize import get_pocl_version
label_desc: Use image node_id 1 for calling a global function with example usage: _xfail_if_pocl(plat, up_to_version, msg) without return types