We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 136dadd commit 755cad9Copy full SHA for 755cad9
aten/src/ATen/Context.cpp
@@ -304,7 +304,12 @@ at::QEngine Context::qEngine() const {
304
305
#ifdef USE_FBGEMM
306
if (fbgemm::fbgemmSupportedCPU()) {
307
- qengine = at::kFBGEMM;
+ /* X86 is enabled if and only if fbgemm is available.
308
+ * It combines goodness of fbgemm and onednn by dispatching.
309
+ * If onednn not available, always dispatch to fbgemm.
310
+ * Make it default qengine for X86 CPU platforms.
311
+ */
312
+ qengine = at::kX86;
313
}
314
#endif
315
return qengine;
0 commit comments