]> git.pld-linux.org Git - packages/beignet.git/blobdiff - llvm-3.8.patch
patch to fix test failure on LLVM 3.8+
[packages/beignet.git] / llvm-3.8.patch
diff --git a/llvm-3.8.patch b/llvm-3.8.patch
new file mode 100644 (file)
index 0000000..a6590b4
--- /dev/null
@@ -0,0 +1,25 @@
+From 8e119eb32e01066c23c3d96bd2b42032e03f7628 Mon Sep 17 00:00:00 2001
+From: Yang Rong <rong.r.yang@intel.com>
+Date: Thu, 13 Apr 2017 19:32:51 +0800
+Subject: utest: fix image qualifier of compiler_fill_gl_image test.
+
+After clang check the image qualifier, can't use default qualifier
+to write_image.
+
+Signed-off-by: Yang Rong <rong.r.yang@intel.com>
+Reviewed-by: Pan Xiuli <xiuli.pan@intel.com>
+
+diff --git a/kernels/test_fill_gl_image.cl b/kernels/test_fill_gl_image.cl
+index 4250a57..7b5dce7 100644
+--- a/kernels/test_fill_gl_image.cl
++++ b/kernels/test_fill_gl_image.cl
+@@ -1,5 +1,5 @@
+ __kernel void
+-test_fill_gl_image(image2d_t img, int color)
++test_fill_gl_image(write_only image2d_t img, int color)
+ {
+       int2 coord;
+         float4 color_v4;
+-- 
+cgit v0.10.2
+
This page took 0.028746 seconds and 4 git commands to generate.