Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

Journeyman III

incorrect computations by OpenCL? update: no!


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

0 Replies