diff options
Diffstat (limited to 'src/runtime/CL')
-rw-r--r-- | src/runtime/CL/functions/CLBitwiseAnd.cpp | 11 | ||||
-rw-r--r-- | src/runtime/CL/functions/CLBitwiseNot.cpp | 11 | ||||
-rw-r--r-- | src/runtime/CL/functions/CLBitwiseOr.cpp | 11 | ||||
-rw-r--r-- | src/runtime/CL/functions/CLBitwiseXor.cpp | 11 |
4 files changed, 24 insertions, 20 deletions
diff --git a/src/runtime/CL/functions/CLBitwiseAnd.cpp b/src/runtime/CL/functions/CLBitwiseAnd.cpp index 0f9f68cb9c..70e27c0cca 100644 --- a/src/runtime/CL/functions/CLBitwiseAnd.cpp +++ b/src/runtime/CL/functions/CLBitwiseAnd.cpp @@ -23,12 +23,12 @@ */ #include "arm_compute/runtime/CL/functions/CLBitwiseAnd.h" -#include "src/core/CL/kernels/CLBitwiseAndKernel.h" +#include "src/core/CL/kernels/CLBitwiseKernel.h" #include <utility> -using namespace arm_compute; - +namespace arm_compute +{ void CLBitwiseAnd::configure(const ICLTensor *input1, const ICLTensor *input2, ICLTensor *output) { configure(CLKernelLibrary::get().get_compile_context(), input1, input2, output); @@ -36,7 +36,8 @@ void CLBitwiseAnd::configure(const ICLTensor *input1, const ICLTensor *input2, I void CLBitwiseAnd::configure(const CLCompileContext &compile_context, const ICLTensor *input1, const ICLTensor *input2, ICLTensor *output) { - auto k = std::make_unique<CLBitwiseAndKernel>(); - k->configure(compile_context, input1, input2, output); + auto k = std::make_unique<CLBitwiseKernel>(); + k->configure(compile_context, input1, input2, output, BitwiseOperation::AND); _kernel = std::move(k); } +} // namespace arm_compute
\ No newline at end of file diff --git a/src/runtime/CL/functions/CLBitwiseNot.cpp b/src/runtime/CL/functions/CLBitwiseNot.cpp index cd2384590e..7970a1698b 100644 --- a/src/runtime/CL/functions/CLBitwiseNot.cpp +++ b/src/runtime/CL/functions/CLBitwiseNot.cpp @@ -23,12 +23,12 @@ */ #include "arm_compute/runtime/CL/functions/CLBitwiseNot.h" -#include "src/core/CL/kernels/CLBitwiseNotKernel.h" +#include "src/core/CL/kernels/CLBitwiseKernel.h" #include <utility> -using namespace arm_compute; - +namespace arm_compute +{ void CLBitwiseNot::configure(const ICLTensor *input, ICLTensor *output) { configure(CLKernelLibrary::get().get_compile_context(), input, output); @@ -36,7 +36,8 @@ void CLBitwiseNot::configure(const ICLTensor *input, ICLTensor *output) void CLBitwiseNot::configure(const CLCompileContext &compile_context, const ICLTensor *input, ICLTensor *output) { - auto k = std::make_unique<CLBitwiseNotKernel>(); - k->configure(compile_context, input, output); + auto k = std::make_unique<CLBitwiseKernel>(); + k->configure(compile_context, input, nullptr, output, BitwiseOperation::NOT); _kernel = std::move(k); } +} // namespace arm_compute
\ No newline at end of file diff --git a/src/runtime/CL/functions/CLBitwiseOr.cpp b/src/runtime/CL/functions/CLBitwiseOr.cpp index 38db5f78a0..fbda9ad289 100644 --- a/src/runtime/CL/functions/CLBitwiseOr.cpp +++ b/src/runtime/CL/functions/CLBitwiseOr.cpp @@ -23,12 +23,12 @@ */ #include "arm_compute/runtime/CL/functions/CLBitwiseOr.h" -#include "src/core/CL/kernels/CLBitwiseOrKernel.h" +#include "src/core/CL/kernels/CLBitwiseKernel.h" #include <utility> -using namespace arm_compute; - +namespace arm_compute +{ void CLBitwiseOr::configure(const ICLTensor *input1, const ICLTensor *input2, ICLTensor *output) { configure(CLKernelLibrary::get().get_compile_context(), input1, input2, output); @@ -36,7 +36,8 @@ void CLBitwiseOr::configure(const ICLTensor *input1, const ICLTensor *input2, IC void CLBitwiseOr::configure(const CLCompileContext &compile_context, const ICLTensor *input1, const ICLTensor *input2, ICLTensor *output) { - auto k = std::make_unique<CLBitwiseOrKernel>(); - k->configure(compile_context, input1, input2, output); + auto k = std::make_unique<CLBitwiseKernel>(); + k->configure(compile_context, input1, input2, output, BitwiseOperation::OR); _kernel = std::move(k); } +} // namespace arm_compute
\ No newline at end of file diff --git a/src/runtime/CL/functions/CLBitwiseXor.cpp b/src/runtime/CL/functions/CLBitwiseXor.cpp index e477c3b847..4f4b74c04c 100644 --- a/src/runtime/CL/functions/CLBitwiseXor.cpp +++ b/src/runtime/CL/functions/CLBitwiseXor.cpp @@ -23,12 +23,12 @@ */ #include "arm_compute/runtime/CL/functions/CLBitwiseXor.h" -#include "src/core/CL/kernels/CLBitwiseXorKernel.h" +#include "src/core/CL/kernels/CLBitwiseKernel.h" #include <utility> -using namespace arm_compute; - +namespace arm_compute +{ void CLBitwiseXor::configure(const ICLTensor *input1, const ICLTensor *input2, ICLTensor *output) { configure(CLKernelLibrary::get().get_compile_context(), input1, input2, output); @@ -36,7 +36,8 @@ void CLBitwiseXor::configure(const ICLTensor *input1, const ICLTensor *input2, I void CLBitwiseXor::configure(const CLCompileContext &compile_context, const ICLTensor *input1, const ICLTensor *input2, ICLTensor *output) { - auto k = std::make_unique<CLBitwiseXorKernel>(); - k->configure(compile_context, input1, input2, output); + auto k = std::make_unique<CLBitwiseKernel>(); + k->configure(compile_context, input1, input2, output, BitwiseOperation::XOR); _kernel = std::move(k); } +} // namespace arm_compute
\ No newline at end of file |