Quantcast
Channel: CUDAfy.NET
Viewing all articles
Browse latest Browse all 1169

New Post: Compile exception: function acosf, sqrtf declared implicitly

$
0
0
Hello,

Whenever I try to run my application, I often get stuck with a Cudafy.CudafyCompileException, which seems to appear and dissapear at random. The Innerexception message always contains the same compilation Errors:

Cudafy.CudafyCompileException: Compilation error: "C:\TEMP\OCLAA7D.tmp.cl", line 244: error: function "acosf" declared implicitly
float num = acosf(nx) * 180.0f / 3.141593f;
"C:\TEMP\OCLAA7D.tmp.cl", line 935: error: function "sqrtf" declared implicitly
        float num11 = sqrtf((num7 - num9) * (num7 - num9) + (num8 - num10) * (num8 - num10));
There seems to be some weird issue with acosf and sqrtf, for which I haven't been able to find the cause.

I am currently using cudafy Version 1.29.

Any help would be appreciated.

Viewing all articles
Browse latest Browse all 1169

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>