When I write my program's float result to global memory, it comes out fine. But when I write its output to LDS I get all nans and infinities. What gives?
I use printf from the kernel to get the values. Kernel is just 1 group of 64 workers. Using sdk 3.0 in Ubuntu 14.04.