Skip to content

Commit 528bf05

Browse files
committed
Revert "Allow all devices for CI testing; The performance maybe negatively impacted on un-tested devices"
This reverts commit 8eb8ecc.
1 parent 9432936 commit 528bf05

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

onnxruntime/core/providers/webgpu/nn/im2col_matmul.cc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ std::pair<uint32_t, uint32_t> ChooseTileSize(uint32_t im2col_m, uint32_t im2col_
4747

4848
// Add support for more devices.
4949
bool IsDeviceSupported(ComputeContext& context) {
50-
#if 0
5150
const wgpu::AdapterInfo& adapter_info = context.AdapterInfo();
5251

5352
if (adapter_info.vendor == std::string_view("intel")) {
@@ -57,10 +56,6 @@ bool IsDeviceSupported(ComputeContext& context) {
5756
}
5857

5958
return false;
60-
#else
61-
(void)context; // <-- This line suppresses the unused variable warning
62-
return true;
63-
#endif
6459
}
6560

6661
} // namespace

0 commit comments

Comments
 (0)