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

Support for explicit matmul instructions / tensor core instructions #4137

Open
thomasdullien opened this issue May 25, 2023 · 3 comments
Open
Labels
feature request A request for a new GPU feature exposed in the API wgsl WebGPU Shading Language Issues
Milestone

Comments

@thomasdullien
Copy link

Hey all,

if the hope that WebGPU can possibly provide a vendor-agnostic replacement for things like CUDA over the medium run should play out, WebGPU needs to support instructions for Tensor cores / Matrix cores.

This case was inspired by reading the comments under https://news.ycombinator.com/item?id=35800988

This case depends on #3950 as far as I understand.

Happy to flesh out the issue in more detail (as I learn more about the subject).

@alan-baker alan-baker added this to the Polish post-V1 milestone May 25, 2023
@alan-baker alan-baker added feature request A request for a new GPU feature exposed in the API wgsl WebGPU Shading Language Issues labels May 25, 2023
@alan-baker
Copy link
Contributor

We're definitely interested interested in exposing ML primitives as they become standardized more widely.

@kainino0x kainino0x modified the milestones: Polish post-V1, Milestone 1 Aug 15, 2023
@dneto0
Copy link
Contributor

dneto0 commented Sep 27, 2023

Thank you for raising this.
I'd like to redirect discussion to #4195

Agree this is dependent on portability of reconvergence, which is being worked out in subgroup discussions. #4306.
Therefore I'm moving the milestone to 2, to match subgroups.

@dneto0 dneto0 modified the milestones: Milestone 1, Milestone 2 Sep 27, 2023
@dneto0
Copy link
Contributor

dneto0 commented Sep 27, 2023

Agreed. Google thinks this is very attractive.
Agreed this depends on subgroup semantics. That's why I moved it to M2 at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A request for a new GPU feature exposed in the API wgsl WebGPU Shading Language Issues
Projects
None yet
Development

No branches or pull requests

4 participants