Hi Lev, On Mon, Jan 3, 2011 at 9:45 AM, Lev Givon <l...@columbia.edu> wrote: > pytools.prefork.ExecError: error invoking 'nvcc --cubin -arch sm_11 > -I/usr/lib64/python2.6/site-packages/pycuda/../../../../include/pycuda > kernel.cu': status 2 invoking 'nvcc --cubin -arch sm_11 > -I/usr/lib64/python2.6/site-packages/pycuda/../../../../include/pycuda > kernel.cu': ./kernel.cu(10): Error: External calls are not supported > (found non-inlined call to _ZN6pycuda3powERKNS_7complexIfEEi) > > Casting the exponent to a float or pycuda::complex<float> prevents the > error from occurring, but casting it to int does not. Is this expected?
According to Cuda Programming Guide, pow() exists only for floating-point variables, but not for integers. So, yes, I think it is the expected behavior. Best regards, Bogdan _______________________________________________ PyCUDA mailing list PyCUDA@tiker.net http://lists.tiker.net/listinfo/pycuda