[Piglit] [PATCH 3/3] CL: Fix scalar-data-types double test

Aaron Watry awatry at gmail.com
Tue Jun 25 09:34:55 PDT 2013


We were declaring variable 'd' twice on subsequent lines.

Noticed and tested on windows catalyst (pitcairn) w/ CL 1.2.

Signed-off-by: Aaron Watry <awatry at gmail.com>
---
 tests/cl/program/build/scalar-data-types.cl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 mode change 100644 => 100755 tests/cl/program/build/scalar-data-types.cl

diff --git a/tests/cl/program/build/scalar-data-types.cl b/tests/cl/program/build/scalar-data-types.cl
old mode 100644
new mode 100755
index d3c5061..00693f5
--- a/tests/cl/program/build/scalar-data-types.cl
+++ b/tests/cl/program/build/scalar-data-types.cl
@@ -24,6 +24,6 @@ kernel void test(global int* out) {
 // Needs cl_khr_fp64 or OpenCL C 1.2
 #if __OPENCL_C_VERSION__ >= 120
 	double d;
-	double* d;
+	double* d1;
 #endif
 }
-- 
1.8.1.2



More information about the Piglit mailing list