From 05da6dd102c988081c7d5eccb227f559f740ceef Mon Sep 17 00:00:00 2001 From: Moritz Pflanzer Date: Tue, 4 Jul 2017 12:08:41 +0100 Subject: 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 Tested-by: Kaizen --- src/core/CL/kernels/CLSoftmaxLayerKernel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/CL/kernels/CLSoftmaxLayerKernel.cpp') diff --git a/src/core/CL/kernels/CLSoftmaxLayerKernel.cpp b/src/core/CL/kernels/CLSoftmaxLayerKernel.cpp index c488f90b91..3608a174ef 100644 --- a/src/core/CL/kernels/CLSoftmaxLayerKernel.cpp +++ b/src/core/CL/kernels/CLSoftmaxLayerKernel.cpp @@ -56,7 +56,7 @@ void CLLogits1DMaxKernel::configure(const ICLTensor *input, ICLTensor *output) build_opts.emplace(("-DDATA_TYPE=" + get_cl_type_from_data_type(input->info()->data_type()))); if(is_data_type_fixed_point(input->info()->data_type())) { - build_opts.emplace(("-DFIXED_POINT_POSITION=" + val_to_string(input->info()->fixed_point_position()))); + build_opts.emplace(("-DFIXED_POINT_POSITION=" + support::cpp11::to_string(input->info()->fixed_point_position()))); } // Tell the kernel that the width is not a multiple of 16 @@ -111,7 +111,7 @@ void CLLogits1DShiftExpSumKernel::configure(const ICLTensor *input, const ICLTen build_opts.emplace(("-DDATA_TYPE=" + get_cl_type_from_data_type(input->info()->data_type()))); if(is_data_type_fixed_point(input->info()->data_type())) { - build_opts.emplace(("-DFIXED_POINT_POSITION=" + val_to_string(input->info()->fixed_point_position()))); + build_opts.emplace(("-DFIXED_POINT_POSITION=" + support::cpp11::to_string(input->info()->fixed_point_position()))); } // Tell the kernel that the width is not a multiple of 16 @@ -184,7 +184,7 @@ void CLLogits1DNormKernel::configure(const ICLTensor *input, const ICLTensor *su build_opts.emplace(("-DDATA_TYPE=" + get_cl_type_from_data_type(input->info()->data_type()))); if(is_data_type_fixed_point(input->info()->data_type())) { - build_opts.emplace(("-DFIXED_POINT_POSITION=" + val_to_string(input->info()->fixed_point_position()))); + build_opts.emplace(("-DFIXED_POINT_POSITION=" + support::cpp11::to_string(input->info()->fixed_point_position()))); } // Create kernel -- cgit v1.2.1