diff options
author | Jakub Sujak <jakub.sujak@arm.com> | 2023-04-13 21:14:42 +0100 |
---|---|---|
committer | Jakub Sujak <jakub.sujak@arm.com> | 2023-04-14 10:36:42 +0000 |
commit | 1ed6a144b1396297b813457016d545af1bb9d823 (patch) | |
tree | cb3516b7103c22d76ea03021355bdf293fa32061 /src/gpu/cl/operators | |
parent | 9b0a6b49e95b221456489dd7c58681ceca5dd8cb (diff) | |
download | ComputeLibrary-1ed6a144b1396297b813457016d545af1bb9d823.tar.gz |
Align naming convention of ClMatMul
Ensure naming of MatMul on GPU conforms to the naming convention <backend><operator><config> i.e. ClMatMul operator with the backend ClMatMulNativeKernel.
Resolves: COMPMID-6015
Change-Id: I021d235b023ad17fe97bd6913e6a50d0ba4b194e
Signed-off-by: Jakub Sujak <jakub.sujak@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9443
Reviewed-by: Gunes Bayir <gunes.bayir@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/gpu/cl/operators')
-rw-r--r-- | src/gpu/cl/operators/ClMatMul.cpp | 6 | ||||
-rw-r--r-- | src/gpu/cl/operators/ClMatMul.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/gpu/cl/operators/ClMatMul.cpp b/src/gpu/cl/operators/ClMatMul.cpp index dadaa1f779..3ad6d914c7 100644 --- a/src/gpu/cl/operators/ClMatMul.cpp +++ b/src/gpu/cl/operators/ClMatMul.cpp @@ -25,7 +25,7 @@ #include "arm_compute/core/Error.h" #include "arm_compute/runtime/CL/CLScheduler.h" #include "src/common/utils/Log.h" -#include "src/gpu/cl/kernels/ClNativeMatMulKernel.h" +#include "src/gpu/cl/kernels/ClMatMulNativeKernel.h" namespace arm_compute { @@ -33,7 +33,7 @@ namespace opencl { using namespace arm_compute::opencl::kernels; ClMatMul::ClMatMul() - : _native_matmul_kernel(std::make_unique<ClNativeMatMulKernel>()) + : _native_matmul_kernel(std::make_unique<ClMatMulNativeKernel>()) { } ClMatMul::~ClMatMul() @@ -44,7 +44,7 @@ Status ClMatMul::validate(const ITensorInfo *lhs, const ITensorInfo *rhs, const MatMulKernelInfo kernel_info; kernel_info.adj_lhs = matmul_info.adj_lhs(); kernel_info.adj_rhs = matmul_info.adj_rhs(); - return ClNativeMatMulKernel::validate(lhs, rhs, output, kernel_info); + return ClMatMulNativeKernel::validate(lhs, rhs, output, kernel_info); } void ClMatMul::configure(const CLCompileContext &compile_context, ITensorInfo *lhs, ITensorInfo *rhs, ITensorInfo *output, const MatMulInfo &matmul_info) { diff --git a/src/gpu/cl/operators/ClMatMul.h b/src/gpu/cl/operators/ClMatMul.h index 894b8d5816..20beda91ce 100644 --- a/src/gpu/cl/operators/ClMatMul.h +++ b/src/gpu/cl/operators/ClMatMul.h @@ -25,7 +25,7 @@ #define ARM_COMPUTE_SRC_GPU_CL_OPERATORS_ClMatMul #include "src/gpu/cl/IClOperator.h" -#include "src/gpu/cl/kernels/ClNativeMatMulKernel.h" +#include "src/gpu/cl/kernels/ClMatMulNativeKernel.h" #include <memory> namespace arm_compute @@ -34,7 +34,7 @@ namespace opencl { /** Basic operator to execute BatchMatMul on OpenCL. This operator calls the following OpenCL kernels: * - * -# @ref kernels::ClNativeMatMulKernel + * -# @ref kernels::ClMatMulNativeKernel */ class ClMatMul : public IClOperator { @@ -77,7 +77,7 @@ public: void run(ITensorPack &tensors) override; private: - std::unique_ptr<kernels::ClNativeMatMulKernel> _native_matmul_kernel; + std::unique_ptr<kernels::ClMatMulNativeKernel> _native_matmul_kernel; }; } // namespace opencl } // namespace arm_compute |