From db355f702358b5b1a86bc16bfa28e34e686f62fa Mon Sep 17 00:00:00 2001 From: Alexander Nesterov Date: Mon, 13 May 2024 15:30:43 +0200 Subject: [PATCH] onednn come back --- .../fullyconnected_implementations.cpp | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/src/plugins/intel_cpu/src/nodes/executors/fullyconnected_implementations.cpp b/src/plugins/intel_cpu/src/nodes/executors/fullyconnected_implementations.cpp index dd1500f5540cf6..17dbfcec8c5a67 100644 --- a/src/plugins/intel_cpu/src/nodes/executors/fullyconnected_implementations.cpp +++ b/src/plugins/intel_cpu/src/nodes/executors/fullyconnected_implementations.cpp @@ -345,34 +345,34 @@ const std::vector>& getImplementations() { const ExecutorContext::CPtr context) { return std::make_shared(attrs, postOps, memory, context); }) -// OV_CPU_INSTANCE_DNNL( -// "fullyconnected_dnnl", -// ExecutorType::Dnnl, -// OperationType::FullyConnected, -// ShapeTolerance::Dependant, -// // supports -// [](const FCConfig& config) -> bool { -// return true; -// }, -// // requiresFallback -// [](const FCConfig& config) -> ov::optional> { -// return requiresFallbackCommon(config, -// dnnlFCTypeMapping, -// dnnlFCLayoutConfig, -// dnnlConvolutionMappingNotation); -// }, -// // acceptsShapes -// [](const MemoryArgs& memory) -> bool { -// return true; -// }, -// // create -// [](const FCAttrs& attrs, const PostOps& postOps, const MemoryArgs& memory, ExecutorContext::CPtr context) { -// return std::make_shared>(attrs, -// postOps, -// memory, -// context, -// false); -// }) + OV_CPU_INSTANCE_DNNL( + "fullyconnected_dnnl", + ExecutorType::Dnnl, + OperationType::FullyConnected, + ShapeTolerance::Dependant, + // supports + [](const FCConfig& config) -> bool { + return true; + }, + // requiresFallback + [](const FCConfig& config) -> ov::optional> { + return requiresFallbackCommon(config, + dnnlFCTypeMapping, + dnnlFCLayoutConfig, + dnnlConvolutionMappingNotation); + }, + // acceptsShapes + [](const MemoryArgs& memory) -> bool { + return true; + }, + // create + [](const FCAttrs& attrs, const PostOps& postOps, const MemoryArgs& memory, ExecutorContext::CPtr context) { + return std::make_shared>(attrs, + postOps, + memory, + context, + false); + }) }; return fullyconnectedImplementations;