-
Notifications
You must be signed in to change notification settings - Fork 2k
webgpu: Optimize broadcast mul/div #7437
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
Conversation
Linchenn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
mattsoulanille
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Please hold this a bit while, as Jiajia still needs some changes. |
| this.workPerThread = 1; | ||
| } | ||
| this.shaderKey = `binary_${this.type}_${op}`; | ||
| this.shaderKey = `binary_${this.type}_${op}_${this.variableComponents}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still hope variableComponents has a meaningful value for all the paths instead of undefined.
gyagp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM if you may polish the shaderKey.
To see the logs from the Cloud Build CI, please join either our discussion or announcement mailing list.
This change is