emu icon indicating copy to clipboard operation
emu copied to clipboard

CUDA Support

Open ChipsSpectre opened this issue 5 years ago • 2 comments

Hey

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

Best regards Chips

ChipsSpectre avatar Jun 07 '19 18:06 ChipsSpectre

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.

calebwin avatar Jun 08 '19 16:06 calebwin

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

apriori avatar Nov 12 '19 17:11 apriori