[SYCL-MLIR] How can I run sycl-mlir on Nvidia GPU #14567
Unanswered
SealSoul117
asked this question in
Q&A
Replies: 2 comments 4 replies
-
|
For the first question I will tag @etiotto here.
It should be executable on any platform that supports SPIR-V, i.e. the list is not limited by Intel platforms theoretically, but in practice, it is not that huge due to a few caveats:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Compilation for NVidia GPUs has not been considered. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I'm tring to use sycl-mlir on Nvidia A100 to test my stencil program.
It seems the only way to compile with sycl-mlir is to use
clang++ -fsycl -fsycl-targets=spir64-unknown-unknown-syclmlir example.cppHowever, the program compiled this way is for the SPIR-V backend, and it will throw
PI_ERROR_INVALID_BINARYerror when I excute the binary file.And if my target in
-fsycl-targetsisnvptx64-nvidia-cuda, it seems it's using DPC++ instead of sycl-mlir.So, I want to ask:
Beta Was this translation helpful? Give feedback.
All reactions