-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add SYCL/ComputeCpp and libraries #1339
Comments
Clicking the link: it requires registratration. EULA below:
|
Cursory glance, I think we're ok. Will chat with a tame lawyer. |
Tried a quick local install, didn't instill much confidence :)
Presumably I'm a few |
Indeed: |
good, that that works, @TartanLlama or @mmha is it usefull or even possible to show SPIR-V assembly output ? |
Hey @janwilmans, I have ComputeCpp working with a local Compiler Explorer instance. Showing the SPIR-V assembly works out of the box, all that needs to be passed to the compiler is I should also add that you get much more readable and LLVM-like SPIR-V assembly by disassembling the binary SPIR-V module with Thinking forward, it may be a benefitial for all the heterogeneous compilers on CE (nvcc, ComputeCpp, clang + OpenMP, gcc + OpenMP/OpenACC, icc + OpenMP) to be able to select both host and device targets separately instead of grouping them by host architecture only. In fact, gcc offloading works by having two compilers installed. What do you think @mattgodbolt? |
Oh another thing, I just saw the link to the OpenCL headers in the first post. If you want to add OpenCL as a library in CE, it would also make sense to add the OpenCL ICD Loader so the code can be linked without undefined references as well. Another cool library to have on CE would be SYCL Parallel STL, but we can open a separate issue for this and the other libraries. |
As always morris is three steps ahead of me ;) good stuff, however, I'm not sure about the ICD Loader, I thought code on compiler explorer is not linked at all? |
Code can optionally be linked and disassembled when you click on the |
Oh, is that what that does.... thanks. |
It would be nice if it was possible to add not only the CodePlay compiler but also the Intel initiated open-source compiler (https://lists.llvm.org/pipermail/cfe-dev/2019-January/060811.html https://github.com/intel/llvm/tree/sycl). BTW: There are also other SYCL implementations (for an overview see e.g. https://raw.githubusercontent.com/illuhad/hipSYCL/master/doc/img/sycl-targets.png). |
I don't really know...I've not used any of these technologies so don't have a strong opinion. Sounds like a bit of UI work to have two separate compilers to pick? |
Compiler: https://www.codeplay.com/products/computesuite/computecpp - NB EULA needs looking at.
Also worth looking at:
Requested by Jan Wilmans over email.
The text was updated successfully, but these errors were encountered: