aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/CL/functions/CLLogicalAnd.cpp
diff options
context:
space:
mode:
authorMichele Di Giorgio <michele.digiorgio@arm.com>2021-01-22 15:42:59 +0000
committerMichele Di Giorgio <michele.digiorgio@arm.com>2021-01-26 14:11:18 +0000
commit1e0208a66ddea1be2d0e715591598c6704660811 (patch)
treee0cdfe503ae54f892bea84ff3f0e916464828d42 /src/runtime/CL/functions/CLLogicalAnd.cpp
parent7249f154c2ec029f9b8c91f2bb845abe6590f7ed (diff)
downloadComputeLibrary-1e0208a66ddea1be2d0e715591598c6704660811.tar.gz
Make CLArithmeticAddition kernel and function state-less
Resolves COMPMID-4006 Change-Id: Iddc32b0b250142aac9a4a7b9dc0eef462d196025 Signed-off-by: Michele Di Giorgio <michele.digiorgio@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4913 Tested-by: Arm Jenkins <bsgcomp@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Sang-Hoon Park <sang-hoon.park@arm.com>
Diffstat (limited to 'src/runtime/CL/functions/CLLogicalAnd.cpp')
-rw-r--r--src/runtime/CL/functions/CLLogicalAnd.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/runtime/CL/functions/CLLogicalAnd.cpp b/src/runtime/CL/functions/CLLogicalAnd.cpp
index f1c53651c7..98c98abed5 100644
--- a/src/runtime/CL/functions/CLLogicalAnd.cpp
+++ b/src/runtime/CL/functions/CLLogicalAnd.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Arm Limited.
+ * Copyright (c) 2020-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -23,7 +23,7 @@
*/
#include "arm_compute/runtime/CL/functions/CLLogicalAnd.h"
#include "arm_compute/core/CL/ICLTensor.h"
-#include "src/core/CL/kernels/CLElementwiseOperationKernel.h"
+#include "src/core/gpu/cl/kernels/ClElementwiseKernel.h"
#include <utility>
@@ -33,14 +33,14 @@ namespace experimental
{
void CLLogicalAnd::configure(const CLCompileContext &compile_context, ITensorInfo *input1, ITensorInfo *input2, ITensorInfo *output)
{
- auto k = std::make_unique<CLLogicalBinaryKernel>();
- k->configure(compile_context, kernels::LogicalOperation::And, input1, input2, output);
+ auto k = std::make_unique<arm_compute::opencl::kernels::ClLogicalBinaryKernel>();
+ k->configure(compile_context, LogicalOperation::And, input1, input2, output);
_kernel = std::move(k);
}
Status CLLogicalAnd::validate(const ITensorInfo *input1, const ITensorInfo *input2, const ITensorInfo *output)
{
- return CLLogicalBinaryKernel::validate(kernels::LogicalOperation::And, input1, input2, output);
+ return arm_compute::opencl::kernels::ClLogicalBinaryKernel::validate(LogicalOperation::And, input1, input2, output);
}
void CLLogicalAnd::run(ITensorPack &tensors)