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

Consider rust-gpu when deciding on GPU support #123

Open
LegNeato opened this issue Apr 3, 2024 · 3 comments
Open

Consider rust-gpu when deciding on GPU support #123

LegNeato opened this issue Apr 3, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@LegNeato
Copy link

LegNeato commented Apr 3, 2024

Is your feature request related to a problem? Please describe.
The roadmap mentions running on the GPU as a future goal. When faer is ready it should look at the nascent https://github.com/EmbarkStudios/rust-gpu to see if it can be leveraged.

Describe the solution you'd like
Using https://github.com/EmbarkStudios/rust-gpu for the gpu portion.

Describe alternatives you've considered
CUDA, glsl, etc.

@LegNeato LegNeato added the enhancement New feature or request label Apr 3, 2024
@sarah-quinones
Copy link
Owner

will keep an eye on it. im also considering compute shaders in wgpu and possibly cuda.

there's a lot of options so im gonna try to experiment a bit before deciding what to do

@Makogan
Copy link

Makogan commented Jun 18, 2024

Cudos for the rustgpu suggestion

@janroden
Copy link

janroden commented Jul 26, 2024

There's also the quite new crate CubeCL, which is the GPU compute backend of Burn and lets you write kernels in Rust that are then optimized and compiled to CUDA or WebGPU (and Metal, ROCm, Vulkan, CPU SIMD are planned).

The goal of CubeCL is to ease the pain of writing highly optimized compute kernels that are portable across hardware. There is currently no adequate solution when you want optimal performance while still being multi-platform.

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

4 participants