-
Notifications
You must be signed in to change notification settings - Fork 769
[CUDA] math functions support list #1461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@Ruyk are all builtins listed on https://github.com/intel/llvm/blob/sycl/sycl/doc/cuda/cuda-vs-opencl-math-builtin-precisions.md supported by the backend? |
Not yet, we are working on the full list, @Naghasan has the details |
The complete working set of builtins required for SYCL 1.2.1 will be available in the next few weeks. Patches are being reviewed, check the libclc label (https://github.com/intel/llvm/pulls?q=is%3Apr+label%3Alibclc+) |
@jinz2014, most of the built-ins are implemented. Can we close this issue? |
Though I am not a developer, I am interested to know where I can find the implementations. Thank you for pointing that out. |
I think a table of math functions is needed for people to know which math functions are supported...
https://github.com/codeplaysoftware/computecpp-sdk/blob/master/samples/monte-carlo-pi.cpp
~/computecpp-sdk/samples$ clang++ -fsycl -fsycl-targets=nvptx64-nvidia-cuda-sycldevice monte-carlo-pi.cpp
ptxas fatal : Unresolved extern function '_Z18__spirv_ocl_lengthDv2_f'
Add another one
ptxas fatal : Unresolved extern function '_Z15__spirv_ocl_tanf'
The text was updated successfully, but these errors were encountered: