From bd55c744efcadc5ba3feee6755e279e1002dab62 Mon Sep 17 00:00:00 2001 From: Alexander Nesterov Date: Wed, 6 Mar 2024 19:41:34 +0100 Subject: [PATCH] remove aclcontext --- src/plugins/intel_cpu/src/nodes/executors/acl/acl_deconv.cpp | 4 ++-- src/plugins/intel_cpu/src/nodes/executors/acl/acl_deconv.hpp | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/plugins/intel_cpu/src/nodes/executors/acl/acl_deconv.cpp b/src/plugins/intel_cpu/src/nodes/executors/acl/acl_deconv.cpp index db6683f7aaee77..343e2c28a4bb36 100644 --- a/src/plugins/intel_cpu/src/nodes/executors/acl/acl_deconv.cpp +++ b/src/plugins/intel_cpu/src/nodes/executors/acl/acl_deconv.cpp @@ -74,7 +74,7 @@ ACLDeconvTensorInfo getACLDeconvTensorInfo(const DeconvAttrs& deconvAttrs, return ACLDeconvTensorInfo{srcTensorInfo, weiTensorInfo, biasTensorInfo, dstTensorInfo, deconv_info}; } -AclDeconvExecutor::AclDeconvExecutor(const ExecutorContext::CPtr context) : DeconvExecutor(context), aclContext(context) {} +AclDeconvExecutor::AclDeconvExecutor(const ExecutorContext::CPtr context) : DeconvExecutor(context) {} bool AclDeconvExecutor::init(const DeconvAttrs& deconvAttrs, const std::vector& srcDescs, @@ -176,7 +176,7 @@ static MemoryPtr prepareWeightMemory(const std::vector& src, const E void AclDeconvExecutor::exec(const std::vector& src, const std::vector& dst, const void *post_ops_data_) { // TODO: Remove transpose from exec - auto newWei = prepareWeightMemory(src, aclContext); + auto newWei = prepareWeightMemory(src, context); srcTensor.allocator()->import_memory(src[0]->getData()); weiTensor.allocator()->import_memory(newWei->getData()); diff --git a/src/plugins/intel_cpu/src/nodes/executors/acl/acl_deconv.hpp b/src/plugins/intel_cpu/src/nodes/executors/acl/acl_deconv.hpp index 6a8cfda375190b..ad743690f45c52 100644 --- a/src/plugins/intel_cpu/src/nodes/executors/acl/acl_deconv.hpp +++ b/src/plugins/intel_cpu/src/nodes/executors/acl/acl_deconv.hpp @@ -49,7 +49,6 @@ class AclDeconvExecutor : public DeconvExecutor { arm_compute::Tensor biasTensor; arm_compute::Tensor dstTensor; std::unique_ptr deconv = nullptr; - const ExecutorContext::CPtr aclContext; }; class AclDeconvExecutorBuilder : public DeconvExecutorBuilder {