Skip to content
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

Initial support for OpenCL #416

Open
bcardosolopes opened this issue Jan 23, 2024 · 3 comments
Open

Initial support for OpenCL #416

bcardosolopes opened this issue Jan 23, 2024 · 3 comments

Comments

@bcardosolopes
Copy link
Member

There are many asserts for paths involving OpenCL, any incremental work in this direction would be much appreciated. (cc @sommerlukas)

@zhoujingya
Copy link
Contributor

Could you please give some more detailed information about how to start some work on this topic? I am very interested in this topic @bcardosolopes 😎😎

@jopperm
Copy link
Contributor

jopperm commented Mar 26, 2024

You can run

clang -fclangir-enable -S -emit-llvm --target=spirv64 some-opencl-kernel.cl

on OpenCL C kernel code and look at the failing assertions.

We've collected a bit more context in our GSoC 2024 project proposal: https://llvm.org/OpenProjects.html#clangir-gpu
It's open for applications until April 2nd, in case you're interested.

@zhoujingya
Copy link
Contributor

You can run

clang -fclangir-enable -S -emit-llvm --target=spirv64 some-opencl-kernel.cl

on OpenCL C kernel code and look at the failing assertions.

We've collected a bit more context in our GSoC 2024 project proposal: llvm.org/OpenProjects.html#clangir-gpu It's open for applications until April 2nd, in case you're interested.

OK, we will have a try🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants