Skip to content

Commit

Permalink
remove aclcontext
Browse files Browse the repository at this point in the history
  • Loading branch information
allnes committed Mar 6, 2024
1 parent 496a393 commit bd55c74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/plugins/intel_cpu/src/nodes/executors/acl/acl_deconv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<MemoryDescPtr>& srcDescs,
Expand Down Expand Up @@ -176,7 +176,7 @@ static MemoryPtr prepareWeightMemory(const std::vector<MemoryCPtr>& src, const E

void AclDeconvExecutor::exec(const std::vector<MemoryCPtr>& src, const std::vector<MemoryPtr>& 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());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ class AclDeconvExecutor : public DeconvExecutor {
arm_compute::Tensor biasTensor;
arm_compute::Tensor dstTensor;
std::unique_ptr<arm_compute::NEDeconvolutionLayer> deconv = nullptr;
const ExecutorContext::CPtr aclContext;
};

class AclDeconvExecutorBuilder : public DeconvExecutorBuilder {
Expand Down

0 comments on commit bd55c74

Please sign in to comment.