More up-to-date documentation on CUDA backend #4050
Replies: 1 comment 8 replies
-
Do you mean in runtime? Compiler flags have almost zero effect on what runtime does. If it finds CUDA GPU to be the only available device, it will use it no matter what. You can check the available devices with
Not sure how come so, that documentation is missing this information, but here's a short guide how to install open-source compiler right into your system:
Did you follow this section of GSG? oneAPI's |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have been following the documentation in this repository to compile SYCL code for CUDA. I found few discrepancies which I would appreciate if someone could clarify:
-fsycl-targets=nvptx64-nvidia-cuda-sycldevice
doesn't seem to make any difference when compiling for CUDA. It always detects CUDA backend with or without this flagLD_LIBRARY_PATH
needs to be set for runtime. Although this is mentioned in the FAQ, it would be better if it is mentioned during the starting guide, otherwise, it is very difficult to figure out why this is needed after the compilation.Beta Was this translation helpful? Give feedback.
All reactions