Skip to content

Conversation

@qjia7
Copy link
Contributor

@qjia7 qjia7 commented Mar 4, 2021

To see the logs from the Cloud Build CI, please join either our discussion or announcement mailing list.


This change is Reviewable

@google-cla google-cla bot added the cla: yes label Mar 4, 2021
@qjia7
Copy link
Contributor Author

qjia7 commented Mar 4, 2021

@gyagp @xhcao @axinging @haoyunfeix Please take a look, thanks.
With this support, it's convenient for us to try the performance impact of batching different dispatching numbers.

if (this.dispatchNumberInEncoder !== 0) {
this.dispatchNumberInEncoder = 0;
this.computePass.endPass();
this.submitQueue();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this submitQueue() be removed? So we could get the same behavior as old delayed mode when WEBGPU_BATCH_DISPATCHING_CALLS set to negative value.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants