The following kernel results in a [font=“Lucida Console”]Error: Code selection failed to select: 0000000012D695F0: i1 = select 0000000012D69EA8, 000000001303F020, 0000000012D6B110[/font]
when using OpenCL on NVIDIA, works fine in CUDA as well as in the ATI Stream SDK.
[codebox]__kernel void Bug_NVIDIA_Select (
const int a,
__global float* out)
{
float t = 1;
if (a) t -= 1;
*out = a;
}[/codebox]
Any idea how to work around this? Tried on a Quadro FX5800 with latest drivers (197.28).
I have the same problem with my kernel.
Did you find a solution ? Or at least a clue about that error ?
It would be very nice that any one, and particularly Nvidia guys, provide support …