incorrect computations by OpenCL? update: no!

Discussion created by afm on Aug 26, 2011


I'm using OpenCL to do simulations of differential equations. This works quite nicely, and very fast. However, I encountered some numerical problems recently, and it took me a really long time to find the single unitialized variable that caused it all. So maybe it would be a good idea if the OpenCL compiler would not only warn about variables set but never read, but also about variables used but never initialized (as e.g. GCC does).

Best regards

Andreas Müller