@@ -28,11 +28,11 @@ namespace webnn::native {
2828
2929 // Forward definitions of each backend's "Connect" function that creates new BackendConnection.
3030 // Conditionally compiled declarations are used to avoid using static constructors instead.
31- #if defined(WEBNN_ENABLE_BACKEND_DML)
32- namespace dml {
33- BackendConnection* Connect (InstanceBase* instance);
34- }
35- #endif // defined(WEBNN_ENABLE_BACKEND_DML)
31+ // #if defined(WEBNN_ENABLE_BACKEND_DML)
32+ // namespace dml {
33+ // BackendConnection* Connect(InstanceBase* instance);
34+ // }
35+ // #endif // defined(WEBNN_ENABLE_BACKEND_DML)
3636#if defined(WEBNN_ENABLE_BACKEND_DMLX)
3737 namespace dmlx {
3838 BackendConnection* Connect (InstanceBase* instance);
@@ -76,9 +76,9 @@ namespace webnn::native {
7676#if defined(WEBNN_ENABLE_BACKEND_NULL)
7777 enabledBackends.set (wnn::BackendType::Null);
7878#endif // defined(WEBNN_ENABLE_BACKEND_NULL)
79- #if defined(WEBNN_ENABLE_BACKEND_DML)
80- enabledBackends.set (wnn::BackendType::DirectML);
81- #endif // defined(WEBNN_ENABLE_BACKEND_DML)
79+ // #if defined(WEBNN_ENABLE_BACKEND_DML)
80+ // enabledBackends.set(wnn::BackendType::DirectML);
81+ // #endif // defined(WEBNN_ENABLE_BACKEND_DML)
8282#if defined(WEBNN_ENABLE_BACKEND_DMLX)
8383 enabledBackends.set (wnn::BackendType::DirectMLX);
8484#endif // defined(WEBNN_ENABLE_BACKEND_DMLX)
@@ -137,11 +137,11 @@ namespace webnn::native {
137137 break ;
138138#endif // defined(WEBNN_ENABLE_BACKEND_NULL)
139139
140- #if defined(WEBNN_ENABLE_BACKEND_DML)
141- case wnn::BackendType::DirectML:
142- Register (dml::Connect (this ), wnn::BackendType::DirectML);
143- break ;
144- #endif // defined(WEBNN_ENABLE_BACKEND_DML)
140+ // #if defined(WEBNN_ENABLE_BACKEND_DML)
141+ // case wnn::BackendType::DirectML:
142+ // Register(dml::Connect(this), wnn::BackendType::DirectML);
143+ // break;
144+ // #endif // defined(WEBNN_ENABLE_BACKEND_DML)
145145
146146#if defined(WEBNN_ENABLE_BACKEND_DMLX)
147147 case wnn::BackendType::DirectMLX:
0 commit comments