diff options
Diffstat (limited to 'src/runtime/NEON/functions/NELogical.cpp')
-rw-r--r-- | src/runtime/NEON/functions/NELogical.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/runtime/NEON/functions/NELogical.cpp b/src/runtime/NEON/functions/NELogical.cpp index 171d84da19..0013a521d1 100644 --- a/src/runtime/NEON/functions/NELogical.cpp +++ b/src/runtime/NEON/functions/NELogical.cpp @@ -25,21 +25,22 @@ #include "arm_compute/runtime/NEON/NEScheduler.h" #include "arm_compute/runtime/Tensor.h" + +#include "src/common/utils/Log.h" #include "src/core/NEON/kernels/NELogicalKernel.h" namespace arm_compute { struct LogicalArgs { - std::unique_ptr<kernels::NELogicalKernel> kernel{ nullptr }; + std::unique_ptr<kernels::NELogicalKernel> kernel{nullptr}; ITensorPack pack{}; }; struct NELogicalAnd::Impl : public LogicalArgs { }; -NELogicalAnd::NELogicalAnd() - : _impl(std::make_unique<Impl>()) +NELogicalAnd::NELogicalAnd() : _impl(std::make_unique<Impl>()) { } NELogicalAnd::~NELogicalAnd() = default; @@ -47,6 +48,7 @@ NELogicalAnd::~NELogicalAnd() = default; void NELogicalAnd::configure(const ITensor *input1, const ITensor *input2, ITensor *output) { ARM_COMPUTE_ERROR_ON_NULLPTR(input1, input2, output); + ARM_COMPUTE_LOG_PARAMS(input1, input2, output); _impl->kernel = std::make_unique<kernels::NELogicalKernel>(); _impl->kernel->configure(input1->info(), input2->info(), output->info(), LogicalOperation::And); @@ -70,8 +72,7 @@ void NELogicalAnd::run() struct NELogicalOr::Impl : public LogicalArgs { }; -NELogicalOr::NELogicalOr() - : _impl(std::make_unique<Impl>()) +NELogicalOr::NELogicalOr() : _impl(std::make_unique<Impl>()) { } NELogicalOr::~NELogicalOr() = default; @@ -79,6 +80,7 @@ NELogicalOr::~NELogicalOr() = default; void NELogicalOr::configure(const ITensor *input1, const ITensor *input2, ITensor *output) { ARM_COMPUTE_ERROR_ON_NULLPTR(input1, input2, output); + ARM_COMPUTE_LOG_PARAMS(input1, input2, output); _impl->kernel = std::make_unique<kernels::NELogicalKernel>(); _impl->kernel->configure(input1->info(), input2->info(), output->info(), LogicalOperation::Or); @@ -102,8 +104,7 @@ void NELogicalOr::run() struct NELogicalNot::Impl : public LogicalArgs { }; -NELogicalNot::NELogicalNot() - : _impl(std::make_unique<Impl>()) +NELogicalNot::NELogicalNot() : _impl(std::make_unique<Impl>()) { } NELogicalNot::~NELogicalNot() = default; @@ -111,6 +112,7 @@ NELogicalNot::~NELogicalNot() = default; void NELogicalNot::configure(const ITensor *input, ITensor *output) { ARM_COMPUTE_ERROR_ON_NULLPTR(input, output); + ARM_COMPUTE_LOG_PARAMS(input, output); _impl->kernel = std::make_unique<kernels::NELogicalKernel>(); _impl->kernel->configure(input->info(), nullptr, output->info(), LogicalOperation::Not); |