Skip to content

Commit

Permalink
Fix mac build break
Browse files Browse the repository at this point in the history
  • Loading branch information
sushraja-msft committed Feb 19, 2025
1 parent 30c37eb commit e90b823
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions onnxruntime/core/providers/webgpu/webgpu_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,10 @@ class WebGpuContext final {

if (is_profiling_ && query_type_ == TimestampQueryType::AtPasses) {
wgpu::PassTimestampWrites timestampWrites = {
.querySet = query_set_,
.beginningOfPassWriteIndex = num_pending_dispatches_ * 2,
.endOfPassWriteIndex = num_pending_dispatches_ * 2 + 1};
nullptr,
query_set_,
num_pending_dispatches_ * 2,
num_pending_dispatches_ * 2 + 1};
compute_pass_desc.timestampWrites = &timestampWrites;
}

Expand Down

0 comments on commit e90b823

Please sign in to comment.