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 Support #15

Open
ChipsSpectre opened this issue Jun 7, 2019 · 2 comments
Open

CUDA Support #15

ChipsSpectre opened this issue Jun 7, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@ChipsSpectre
Copy link

Hey

is it planned to support binding to CUDA in the future?
It would be a great enhancement I think :)

Best regards
Chips

@calebwin calebwin added the enhancement New feature or request label Jun 7, 2019
@calebwin
Copy link
Owner

calebwin commented Jun 8, 2019

CUDA could potentially get support at some point.

However, rather than creating multiple targets to support compiling Emu code to, I would prefer to compile Emu to some sort of bytecode or S-expressions and have a trait that can be implemented to generate CUDA or OpenCL or maybe even something else.

Note that if you want to run Emu functions on NVIDIA GPUs, many - if not all - are capable of having compiled OpenCL code run on them.

@apriori
Copy link
Contributor

apriori commented Nov 12, 2019

@calebwin
Maybe look into https://github.com/gfx-rs/rspirv for SPIR-V generation.
Or another approach: https://github.com/MaikKlein/rlsl.

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

No branches or pull requests

3 participants