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 c8546c9 commit f529bbeCopy full SHA for f529bbe
aten/src/ATen/Context.cpp
@@ -307,7 +307,12 @@ at::QEngine Context::qEngine() const {
307
308
#ifdef USE_FBGEMM
309
if (fbgemm::fbgemmSupportedCPU()) {
310
- qengine = at::kFBGEMM;
+ /* X86 is enabled if and only if fbgemm is available.
311
+ * It combines goodness of fbgemm and onednn by dispatching.
312
+ * If onednn not available, always dispatch to fbgemm.
313
+ * Make it default qengine for X86 CPU platforms.
314
+ */
315
+ qengine = at::kX86;
316
}
317
#endif
318
return qengine;
0 commit comments