-
Notifications
You must be signed in to change notification settings - Fork 751
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
runtime error when running Cuda backend for SYCL - returns CL_INVALID_VALUE -30 error #1119
Comments
@varsha-madananth, according to the log, your application used OpenCL back-end, which seems unintentional. |
@bader : I have followed the instructions from https://github.com/codeplaysoftware/sycl-for-cuda/blob/cuda/sycl/doc/GetStartedWithSYCLCompiler.md. Build program log for 'GeForce GTX 1080': However, there has been changes to the codebase yesterday which gives build errors while doing a make on sycl-for-cuda. I probably will have to open another issue for that. I will keep you posted. Thanks, |
There is an issue on the default device selection introduced by the latest PI plugin changes. Basically, SYCL_BE is ignored when using default selection, and can return an opencl device when there is no SPIRV binary or viceversa. We are working on a fix for that on the cuda-dev branch. This also affects a number of LIT tests, in case you see failures there. |
The CUDA backend has been merged, this problem should be solved now. Could you try again and let us know? |
I also got the same error (sycl branch). Could you add the change to the sycl branch ? People follow the get started guide. Could you please sort out or clean up the guide so that people can focus on building the CUDA backend ? Currently, they are mixed together. Thanks |
@varsha-madananth, does #1293 with clarified instructions fix your problem? |
Yes. Thanks for improving the guide.
…On Tue, Mar 17, 2020 at 5:54 AM Alexey Bader ***@***.***> wrote:
@varsha-madananth <https://github.com/varsha-madananth>, does #1293
<#1293> with clarified instructions fix
your problem?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1119 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3QI4H3ZJZIJMMPFLILS73RH5JGNANCNFSM4KTOPRNA>
.
|
@Ruyk, 👍. |
Add support for lowering copies of SRF_2x32 registers. This fixes issue reported in intel#1119.
I built sycl toolchain with support for nvidia cuda. The app builds find on -fsycl-targets=nvptx64-nvidia-cuda-sycldevice. I get the following error when i run the exe. I have attached the compile commands and also gdb output. Any help debugging would be appreciated.
clinfo -l
Platform #0: Intel(R) FPGA Emulation Platform for OpenCL(TM)
-- Device #0: Intel(R) FPGA Emulation Device Platform #1: Intel(R) OpenCL
-- Device #0: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHzPlatform #2: NVIDIA CUDA
`-- Device #0: GeForce GTX 1080
simplesyclapplogs.txt
Thanks,
Varsha
The text was updated successfully, but these errors were encountered: