[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
-
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.cpp
However, the program compiled this way is for the SPIR-V backend, and it will throw
PI_ERROR_INVALID_BINARY
error when I excute the binary file.And if my target in
-fsycl-targets
isnvptx64-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