aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/CL/tuners/CLLWSList.cpp
diff options
context:
space:
mode:
authorGian Marco Iodice <gianmarco.iodice@arm.com>2019-05-14 17:11:53 +0100
committerGian Marco Iodice <gianmarco.iodice@arm.com>2019-05-15 11:12:22 +0000
commitdeaed2d5dd1b92796ba49f66989b59d7891e312b (patch)
treef3f115107c5c38d8fc920a273405abce80f935c2 /src/runtime/CL/tuners/CLLWSList.cpp
parent81e671ef4f2a8fb3128fba402610b9de28b57891 (diff)
downloadComputeLibrary-deaed2d5dd1b92796ba49f66989b59d7891e312b.tar.gz
COMPMID-2334: Extend search space for the EXHAUSTIVE OpenCL tuner
Change-Id Ic71d875542f19d5a4f717f397e1e6ce9ce2536f Change-Id: I7f9cc86b149aa392acffed602b431451499704d7 Signed-off-by: Gian Marco Iodice <gianmarco.iodice@arm.com> Reviewed-on: https://review.mlplatform.org/c/1133 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime/CL/tuners/CLLWSList.cpp')
-rw-r--r--src/runtime/CL/tuners/CLLWSList.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/runtime/CL/tuners/CLLWSList.cpp b/src/runtime/CL/tuners/CLLWSList.cpp
index 6eb251420c..30fd558ef3 100644
--- a/src/runtime/CL/tuners/CLLWSList.cpp
+++ b/src/runtime/CL/tuners/CLLWSList.cpp
@@ -41,8 +41,10 @@ cl::NDRange CLLWSListExhaustive::operator[](size_t index)
CLLWSListExhaustive::CLLWSListExhaustive(const cl::NDRange &gws)
{
- search_space_shape = TensorShape(std::min(static_cast<unsigned int>(gws[0]), max_lws_supported_x), std::min(static_cast<unsigned int>(gws[1]), max_lws_supported_y),
- std::min(static_cast<unsigned int>(gws[2]), max_lws_supported_z));
+ ARM_COMPUTE_UNUSED(gws);
+ search_space_shape = TensorShape(max_lws_supported_x,
+ max_lws_supported_y,
+ max_lws_supported_z);
}
cl::NDRange CLLWSListNormal::operator[](size_t index)