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

Kernels written in rust-gpu #925

Open
LegNeato opened this issue Apr 14, 2024 · 0 comments
Open

Kernels written in rust-gpu #925

LegNeato opened this issue Apr 14, 2024 · 0 comments

Comments

@LegNeato
Copy link

I'd like to add support for rust-gpu in the not-so-distant future. I have some questions while I figure out the plan:

  1. Would it make sense to have shaders written with rust-gpu to be hung off the webgpu device? rust-gpu can be used with wgpu but it isn't a requirement...should it have it's own device? A combo of [host api] + [rust-gpu]?
  2. How should I handle CPU and rust-gpu kernels being similar or perhaps the same? Should it be one kernel impl that is gated by cfg() or should it be split out into two regardless of overlap?
  3. Do you want the kernels written from scratch or should something like https://github.com/charles-r-earp/krnl be leveraged?
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

1 participant