Skip to content

Commit 4cdc68b

Browse files
committed
address Copilot's comments
1 parent df7d5ac commit 4cdc68b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

onnxruntime/core/providers/webgpu/webgpu_context.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ struct CapturedCommandInfo {
3333
WGPUBindGroup bind_group;
3434
WGPUBindGroupLayout bind_group_layout;
3535
std::array<uint32_t, 3> dispatch_group;
36-
WGPUBuffer indirect_buffer; // WGPUBuffer for indirect dispatch, nullptr if not using indirect dispatch
37-
std::optional<std::tuple<std::string, std::string, std::vector<TensorShape>, std::vector<TensorShape>>> pending_kernel_info; // Optional profiling data: (name, cache_key, input_shapes, output_shapes)
36+
// WGPUBuffer for indirect dispatch, nullptr if not using indirect dispatch
37+
WGPUBuffer indirect_buffer;
38+
// Optional profiling data: (name, cache_key, input_shapes, output_shapes)
39+
std::optional<std::tuple<std::string, std::string, std::vector<TensorShape>, std::vector<TensorShape>>> pending_kernel_info;
3840
};
3941

4042
struct WebGpuBufferCacheConfig {

0 commit comments

Comments
 (0)