Why Does Sin() Compile But Not Sinl()

I am working on a CUDA program and when I use the C library sin() function the program compiles without any error. But, when I use the long version of the function sinl(), I get this error:

error: calling a host function(“sinl”) from a device function(“funcGPU”) is not allowed

Please help!

Thanks

sinl doesn’t appear in the list of device supported functions here.

Thank you, do you know of a possible work around? I see sin() for double and sinf() for float on the list but not sinl().

Sorry, no.

Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.