[webgpu] change default validation mode (#22730)
### Description Change default validation mode in Release build from "wgpuOnly" to "basic"
This commit is contained in:
Родитель
017246260f
Коммит
0371e92419
|
@ -103,7 +103,7 @@ std::shared_ptr<IExecutionProviderFactory> WebGpuProviderFactoryCreator::Create(
|
|||
#ifndef NDEBUG
|
||||
webgpu::ValidationMode::Full // for debug build, enable full validation by default
|
||||
#else
|
||||
webgpu::ValidationMode::WGPUOnly // for release build, only enable WGPU validation.
|
||||
webgpu::ValidationMode::Basic // for release build, enable basic validation by default
|
||||
#endif // !NDEBUG
|
||||
;
|
||||
std::string validation_mode_str;
|
||||
|
|
Загрузка…
Ссылка в новой задаче