diff options
author | Moritz Pflanzer <moritz.pflanzer@arm.com> | 2017-07-04 12:08:41 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-09-17 14:15:39 +0100 |
commit | 05da6dd102c988081c7d5eccb227f559f740ceef (patch) | |
tree | e84d06ef734f7ee5b468b1213d0e55f37b4caaf4 /src/core/CL/kernels/CLGEMMLowpMatrixMultiplyKernel.cpp | |
parent | 221f38176b0d4dbc212441779d9bbac3cc0eecfa (diff) | |
download | ComputeLibrary-05da6dd102c988081c7d5eccb227f559f740ceef.tar.gz |
COMPMID-417: Remove val_to_string
The function was a duplicate of the to_string function we have in
support/ToolchainSupport.h
Change-Id: If1eff674333248f7d189824ced717310afec19b0
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/79634
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'src/core/CL/kernels/CLGEMMLowpMatrixMultiplyKernel.cpp')
-rw-r--r-- | src/core/CL/kernels/CLGEMMLowpMatrixMultiplyKernel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/CL/kernels/CLGEMMLowpMatrixMultiplyKernel.cpp b/src/core/CL/kernels/CLGEMMLowpMatrixMultiplyKernel.cpp index c6e05b92a2..ce68c1f9cd 100644 --- a/src/core/CL/kernels/CLGEMMLowpMatrixMultiplyKernel.cpp +++ b/src/core/CL/kernels/CLGEMMLowpMatrixMultiplyKernel.cpp @@ -33,6 +33,7 @@ #include "arm_compute/core/Utils.h" #include "arm_compute/core/Validate.h" #include "arm_compute/core/Window.h" +#include "support/ToolchainSupport.h" #include <cstddef> #include <cstdint> @@ -63,7 +64,7 @@ void CLGEMMLowpMatrixMultiplyKernel::configure(const ICLTensor *input0, const IC _output = output; // Create kernel and set static arguments - std::set<std::string> build_opts = { ("-DWIDTH_MATRIX_B=" + val_to_string(input1->info()->dimension(0))) }; + std::set<std::string> build_opts = { ("-DWIDTH_MATRIX_B=" + support::cpp11::to_string(input1->info()->dimension(0))) }; _kernel = static_cast<cl::Kernel>(CLKernelLibrary::get().create_kernel("gemm_mm_u8", build_opts)); unsigned int idx = 3 * num_arguments_per_2D_tensor(); //Skip the input and output parameters _kernel.setArg<int32_t>(idx++, a_offset); |