From 1da89d78af6653208f36d3a8b8c32c7de8f8a66c Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Fri, 23 Dec 2022 18:20:35 -0600
Subject: [PATCH] Un-skip bitonic sort on Intel CL

---
 test/test_algorithm.py | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/test/test_algorithm.py b/test/test_algorithm.py
index 3459f182..9a11426b 100644
--- a/test/test_algorithm.py
+++ b/test/test_algorithm.py
@@ -1072,9 +1072,8 @@ def test_bitonic_sort(ctx_factory, size, dtype):
     if dtype == np.float64 and not has_double_support(dev):
         from pytest import skip
         skip("double precision not supported on %s" % dev)
-    if dev.platform.name == "Intel(R) OpenCL":
-        pytest.skip("Fails to compile on Intel because of "
-                "https://github.com/intel/llvm/issues/6607")
+    # Requires https://github.com/intel/llvm/releases/tag/2022-WW50 or newer to pass
+    # on Intel CL.
 
     import pyopencl.clrandom as clrandom
     from pyopencl.bitonic_sort import BitonicSort
@@ -1120,9 +1119,8 @@ def test_bitonic_argsort(ctx_factory, size, dtype):
             and device.type & cl.device_type.GPU:
         pytest.xfail("bitonic argsort fails on POCL + Nvidia,"
                 "at least the K40, as of pocl 1.6, 2021-01-20")
-    if device.platform.name == "Intel(R) OpenCL":
-        pytest.skip("Fails to compile on Intel because of "
-                "https://github.com/intel/llvm/issues/6607")
+    # Requires https://github.com/intel/llvm/releases/tag/2022-WW50 or newer to pass
+    # on Intel CL.
 
     dev = ctx.devices[0]
     if (dev.platform.name == "Portable Computing Language"
-- 
GitLab