Hi Thomas, all,
On Wed, 29 Jun 2011 11:22:40 -0400, Thomas Wiecki <Thomas_Wiecki(a)brown.edu> wrote:
I always got these warnings while compiling, but now it seems they
lead to a compile error:
pycuda.driver.CompileError: nvcc said it demoted types in source code
it compiled--this is likely not what you want.
My function is an elementwise kernel (so c code), all input arguments
and variables are floats. In the function I use logf, expf, sinf,
floorf, fmaxf etc. Would any of these return a double? How can I find
I decided to make this an error simply because if nvcc decides to demote
arguments/data structures, that could lead to unexplained crashes if
PyCUDA assumes it should be feeding in doubles.
If that was ill-advised somehow, please let me know.