From c3c0ab8c440f7a77533a949c64d31f9a7f5c4c8d Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Sat, 11 Aug 2012 18:20:00 -0400 Subject: [PATCH] Avoid exercising image functionality on Intel OpenCL (crashy!). --- test/test_wrapper.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/test_wrapper.py b/test/test_wrapper.py index fbde65d6..6f3c27d8 100644 --- a/test/test_wrapper.py +++ b/test/test_wrapper.py @@ -135,7 +135,8 @@ class TestCL: lambda info: evt.get_profiling_info(info), try_attr_form=False) - if device.image_support: + # crashes on intel... + if device.image_support and platform.vendor != "Intel(R) Corporation": smp = cl.Sampler(ctx, True, cl.addressing_mode.CLAMP, cl.filter_mode.NEAREST) @@ -232,6 +233,10 @@ class TestCL: from py.test import skip skip("images not supported on %s" % device) + if device.platform.vendor == "Intel(R) Corporation": + from py.test import skip + skip("images crashy on %s" % device) + prg = cl.Program(context, """ __kernel void copy_image( __global float *dest, -- GitLab