Commits

Anteru committed e8869a2

Add OpenCL/GTX 680 image handling bug.

Comments (0)

Files changed (2)

OpenCL/NVIDIA/readImageFailGTX680/README

+Error: Compilation using clBuildProgram fails with CL_INVALID_VALUE on a GTX 680. Works fine on GTX 560, GTX 480.

OpenCL/NVIDIA/readImageFailGTX680/kernel.cl

+// Doesn't work on GTX 680
+// Removing the input image makes it work; sampling the input and using the
+// value (for instance, writing it) also makes this work
+// Does not work if one but not all image parameters that are specified are used
+// Works fine on GTX 560, GTX 480
+
+__kernel void Test (
+	__read_only image2d_t in,
+	__write_only image2d_t test0)
+{	
+	write_imagef(test0, (int2)(0, 0), (float4)(1));
+}