Skip to content

webgpu performance on mac (metal) is limited by 1ms poll interval #1639

@rcoreilly

Description

@rcoreilly

Describe the bug

Finally found the issue with a pretty severe performance penalty for reading buffers back from the GPU, on mac:
gfx-rs/wgpu#8119

How to reproduce

use gpu.Device.Poll or WaitDone(), e.g., after read buffer, takes at least 1ms on mac. high-bandwidth compute jobs are impacted.

Example code

Relevant output

Platform

macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working correctly

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions