Skip to content

Commit 77c6517

Browse files
committed
[WebGPU] Default non-debug validation mode to disabled
1 parent 1424053 commit 77c6517

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

onnxruntime/core/providers/webgpu/webgpu_context.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ struct WebGpuContextConfig {
9292
#ifndef NDEBUG
9393
webgpu::ValidationMode::Full // for debug build, enable full validation by default
9494
#else
95-
webgpu::ValidationMode::Basic // for release build, enable basic validation by default
95+
webgpu::ValidationMode::Disabled // for release build, disable validation by default
9696
#endif // !NDEBUG
9797
};
9898
bool preserve_device{false};

0 commit comments

Comments
 (0)