View Single Post
Old 2014-11-26, 20:15   #4
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

186416 Posts
Default

The problem is with the code to compute the inverse. The computed inverse is wrong. It appears to have something to do with using unsigned inputs, but when I change them to signed, the OpenCL compiler complains at compile time. Note that I used code posted in another thread on this forum. That code works fine in C. It just doesn't work fine in OpenCL C. I've a slower version that appears to be returning the correct results.

Last fiddled with by rogue on 2014-11-26 at 20:21
rogue is offline   Reply With Quote