Closed rothpc closed 12 years ago
So this complains about source for ratt10.cl and ratxb.cl, but exp() is a built-in OpenCL math function. Am I missing something here? Confirmed exp presence in 1.0 and 1.1 spec.
I think I know what's going on. A missing CPREC around a constant, so it is treating it as double precision and there isn't a double precision exp(). Give me a few minutes and I'll see if I'm right.
Phil
On Mar 6, 2012, at 10:54 , Kyle Spafford wrote:
So this complains about source for ratt10.cl and ratxb.cl, but exp() is a built-in OpenCL math function. Am I missing something here? Confirmed exp presence in 1.0 and 1.1 spec.
Reply to this email directly or view it on GitHub: https://github.com/spaffy/shoc/issues/6#issuecomment-4346807
Philip C. Roth | +1 865 241-1543 | http://ft.ornl.gov/~rothpc
Hmm I see several missing CPREC wrappers, so I will follow up on those after your testing anyway.
Yes, I think that's what the problem is. Fixing ratt will take a while, the others are already done.
On Mar 6, 2012, at 11:01 , Roth, Philip C. wrote:
I think I know what's going on. A missing CPREC around a constant, so it is treating it as double precision and there isn't a double precision exp(). Give me a few minutes and I'll see if I'm right.
Phil
On Mar 6, 2012, at 10:54 , Kyle Spafford wrote:
So this complains about source for ratt10.cl and ratxb.cl, but exp() is a built-in OpenCL math function. Am I missing something here? Confirmed exp presence in 1.0 and 1.1 spec.
Reply to this email directly or view it on GitHub: https://github.com/spaffy/shoc/issues/6#issuecomment-4346807
Philip C. Roth | +1 865 241-1543 | http://ft.ornl.gov/~rothpc
Philip C. Roth | +1 865 241-1543 | http://ft.ornl.gov/~rothpc
I think all these are now committed.
Yes, this issue is resolved.
Gives the following output: