If you can provide a small example, I can see if it works with our upcoming release.
It is an example in my previous post ! ? !
You can insert this code in any 'opencl sample' to check if it work ?
That is a code snippet, I need the whole kernel that shows the problem to investigate and reproduce the exact issue you are seeing. If I just use a code snippet, then we are testing different things and I might not be able to reproduce your problem.
Hi Micah, thanks for your answer....
It is NOT a bug, I just ask if this 'syntax' is allowed in an OpenCL kernel ?
It is supported in C++ and avoid to write 'shorter' code, simply !
NB: I think it is not yet supported in OpenCL 1.1...
I don't see a reason why that code shouldn't work. If it doesn't, then it is a bug and we should fix it.