Skip to content

Commit 8eb8ecc

Browse files
committed
Allow all devices for CI testing; The performance maybe negatively impacted on un-tested devices
1 parent 17988a4 commit 8eb8ecc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ 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
5051
const wgpu::AdapterInfo& adapter_info = context.AdapterInfo();
5152

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

5859
return false;
60+
#else
61+
(void)context; // <-- This line suppresses the unused variable warning
62+
return true;
63+
#endif
5964
}
6065

6166
} // namespace

0 commit comments

Comments
 (0)