From 6fe0943de8750f1ec9062047b816012e8b70131d Mon Sep 17 00:00:00 2001
From: Isuru Fernando <idf2@illinois.edu>
Date: Sun, 13 Feb 2022 16:00:44 -0600
Subject: [PATCH] Skip ranlux test for intel opencl

---
 test/test_array.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/test/test_array.py b/test/test_array.py
index 45fdaa27..f4491e43 100644
--- a/test/test_array.py
+++ b/test/test_array.py
@@ -739,6 +739,11 @@ def test_random_float_in_range(ctx_factory, rng_class, ary_size, plot_hist=False
         pytest.xfail("ranlux test fails on POCL + Nvidia,"
                 "at least the Titan V, as of pocl 1.6, 2021-01-20")
 
+    if device.platform.vendor == "Intel(R) Corporation" \
+            and rng_class is RanluxGenerator:
+        pytest.xfail("compiling ranlux kernel causes a segfault on "
+                "Intel CPU runtime as of 2022-02-13")
+
     if has_double_support(context.devices[0]):
         dtypes = [np.float32, np.float64]
     else:
-- 
GitLab