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

[WebGPU] Support PIX Capture for WebGPU EP #23192

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

shaoboyan091
Copy link

PIX Capture tool requires 'present' to end a frame capture. ORT doesn't have rendering work so no 'present' happens.

To avoid endless waiting for PIX capture tool, this PR added a blank surface and 'present' on it in each session run.

The surface is created in WebGPU ep constructor and closed in WebGPU ep destructor.

Description

Motivation and Context

PIX Capture tool requires 'present' to end a frame capture. ORT doesn't
have rendering work so no 'present' happens.

To avoid endless waiting for PIX capture tool, this PR added a blank
surface and 'present' on it in each session run.

The surface is created in WebGPU ep constructor and closed in WebGPU ep
destructor.
@shaoboyan091
Copy link
Author

@qjia7 @fs-eire PTAL, thanks!

@shaoboyan091
Copy link
Author

@microsoft-github-policy-service agree [company="Microsoft"]

@shaoboyan091
Copy link
Author

@microsoft-github-policy-service agree

@shaoboyan091 shaoboyan091 changed the title Support PIX Capture for WebGPU EP [WebGPU] Support PIX Capture for WebGPU EP Dec 26, 2024
@snnn snnn added the ep:WebGPU ort-web webgpu provider label Dec 30, 2024
@shaoboyan091 shaoboyan091 requested a review from fs-eire January 2, 2025 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ep:WebGPU ort-web webgpu provider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants