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

Vulkan / HIP backend(s) #111

Open
trsh opened this issue Dec 29, 2023 · 5 comments
Open

Vulkan / HIP backend(s) #111

trsh opened this issue Dec 29, 2023 · 5 comments
Assignees

Comments

@trsh
Copy link

trsh commented Dec 29, 2023

Is your feature request related to a problem? Please describe.
LuisaCompute can't operate on Linux + AMD GPU's

Describe the solution you'd like
Vulkan / HIP backend(s) additionally to current ones

Describe alternatives you've considered
Nope

Additional context
Nope

@Mike-Leo-Smith
Copy link
Contributor

Hi, @trsh

Thanks for the feature request!

The Linux + AMD support is planned. However, developing a new backend might take months. We'll update this issue if any progress is made.

@trsh
Copy link
Author

trsh commented Jan 1, 2024

@Mike-Leo-Smith webgpu would be a very exotic backend, covering also webs.

@Mike-Leo-Smith
Copy link
Contributor

@Mike-Leo-Smith webgpu would be a very exotic backend, covering also webs.

Thanks for the information!

WebGPU seems like a promising candidate. We'll investigate and see if it's possible to lower LuisaCompute's DSL and runtime features to it.

@Mike-Leo-Smith
Copy link
Contributor

Update: we plan to re-implement the IR (formerly in src/rust and src/ir). The new IR will be interconvertible with SPIR-V to support the Vulkan backend's code generation needs. This should also help other IR-level transformations, like automatic differentiation, by incorporating SPIRV-Opt's optimization passes.

@MaxwellGengYF
Copy link
Collaborator

Vulkan backend is working in progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants