[go: nahoru, domu]

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

[Draft] webgpu: optimize readSync #7630

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove TODO
  • Loading branch information
qjia7 committed Jul 24, 2023
commit 420ae8bac3d04c80e1bb97120d086063200959b3
2 changes: 0 additions & 2 deletions tfjs-backend-webgpu/src/backend_webgpu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,6 @@ export class WebGPUBackend extends KernelBackend {

this.endComputePassEncoder();
const context = stagingDeviceStorage.getContext('webgpu');
// TODO: use rgba8unorm format when this format is supported on Mac.
// https://bugs.chromium.org/p/chromium/issues/detail?id=1298618
context.configure({
device: this.device,
format: 'rgba8unorm',
Expand Down