From 8846b5ddd0816ae1a5ba146138dec41bb57c9587 Mon Sep 17 00:00:00 2001 From: Aleksandr Voron Date: Thu, 3 Aug 2023 06:59:31 +0200 Subject: [PATCH] [CPU] Disabled MLAS FC impl on ARM (#18947) Fixes regression introduced in PR18879 --- src/plugins/intel_cpu/src/nodes/fullyconnected.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/intel_cpu/src/nodes/fullyconnected.cpp b/src/plugins/intel_cpu/src/nodes/fullyconnected.cpp index 13a205c76b9..9ba336b66d4 100644 --- a/src/plugins/intel_cpu/src/nodes/fullyconnected.cpp +++ b/src/plugins/intel_cpu/src/nodes/fullyconnected.cpp @@ -283,7 +283,7 @@ void FullyConnected::getSupportedDescriptors() { inDims = isDynamicNode() ? makeDummyInputDims() : getInputShapeAtPort(DATA_ID).getStaticDims(); outDims = isDynamicNode() ? makeDummyOutputDims(inDims) : getOutputShapeAtPort(0).getStaticDims(); -#ifdef OV_CPU_WITH_MLAS +#if defined(OV_CPU_WITH_MLAS) && (defined(OPENVINO_ARCH_X86) || defined(OPENVINO_ARCH_X86_64)) // MLAS doesn't support post-ops fusing and only supports FP32. INT8 is not enabled yet // Disable MLAS when FC could fuse post-ops useMlas = !useSparseWeights &&