Quantcast
Channel: User Marco A. - Stack Overflow
Viewing all articles
Browse latest Browse all 45

Answer by Marco A. for Cuda math functions

$
0
0

You're probably mismatching the type of the argument and thus calling a host code function as a "fallback mechanism".

Make sure you're using the right type for the function (which is not float, but double: http://docs.nvidia.com/cuda/cuda-math-api/).

Also note the documentation stating

To use these functions you do not need to include any additional header files in your program.


Viewing all articles
Browse latest Browse all 45

Trending Articles



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