Is there a way to set a float variable to infinity from inside a kernel? (The C constant INFINITY doesn't work, as it's not explicitly passed into the kernel.)
There has been no answer to this question, and I'm also very interested in hearing,so I'm bumping it; I have seen a number of references stating that hardware since the R600 or so supports IEEE 754 floating point, so NaNs & Infs, but a function like isnan() is not accepted by the brcc. How is one to use the hardware capacity? Thanks