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

CUDA C kernels directly to SPIR-V #25

Open
klwin523 opened this issue Jul 29, 2022 · 2 comments
Open

CUDA C kernels directly to SPIR-V #25

klwin523 opened this issue Jul 29, 2022 · 2 comments

Comments

@klwin523
Copy link

The notes say: VUDA does not provide any support for compiling CUDA C kernels directly to SPIR-V (yet)
Is there a roadmap or technical approach you're planning to support that? Maybe we can help implement that based on what you already have in mind.

@jgbit
Copy link
Owner

jgbit commented Aug 1, 2022

Hi and thanks for posting.

The notes are referring to the general state of existing compilers, e.g. GLSL to SPIR-V, HLSL to SPIR-V, and prototypes for Rust to SPIR-V or OpenCL C to SPIR-V.

That said, it would of course be very useful and beneficial to have support for something like that. However, it is somewhat of an undertaking to develop and support a full CUDA C to SPIR-V compiler (not to mention CUDA C++).

From VUDA's point of view, only some very preliminary development has been done - building on LLVM, and I greatly encourage anyone to put work into such a project.

@ib00
Copy link

ib00 commented Dec 2, 2022

There's a project that does something similar:
https://github.com/seanbaxter/shaders

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