aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/CL/tuners/BifrostTuner.cpp
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2020-12-01 16:56:36 +0000
committerGeorgios Pinitas <georgios.pinitas@arm.com>2020-12-02 12:41:05 +0000
commitd308df3186b4f6057f94b45b7bed7935c618ea80 (patch)
treeb4373881b427e69ae22cefd0edd7fd66f294bd8f /src/runtime/CL/tuners/BifrostTuner.cpp
parentadd8e815ea94c8f8e6b1c9faf18527695f1332ec (diff)
downloadComputeLibrary-d308df3186b4f6057f94b45b7bed7935c618ea80.tar.gz
Remove unused CLGEMMMatrixVectorMultiplyKernel
Partially Resolves: COMPMID-3924 Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Change-Id: Ibc47bd5bf5203dbad8d0755608918fcb384053c3 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4633 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime/CL/tuners/BifrostTuner.cpp')
-rw-r--r--src/runtime/CL/tuners/BifrostTuner.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/runtime/CL/tuners/BifrostTuner.cpp b/src/runtime/CL/tuners/BifrostTuner.cpp
index 9490e0b219..8badd57b9e 100644
--- a/src/runtime/CL/tuners/BifrostTuner.cpp
+++ b/src/runtime/CL/tuners/BifrostTuner.cpp
@@ -171,24 +171,6 @@ void tune_im2col_kernel(CLIm2ColKernel &k)
k.set_lws_hint(lws_hint);
}
-void tune_gemv_kernel(CLGEMMMatrixVectorMultiplyKernel &k)
-{
- cl::NDRange lws_hint = k.lws_hint();
- const GPUTarget gpu_target = k.get_target();
-
- // Configure the local work size for Bifrost with a value obtained
- // via exhaustive autotuning for the MobileNets tensor shapes.
- if(gpu_target_is_in(gpu_target,
- GPUTarget::G71, GPUTarget::G72, GPUTarget::G76,
- GPUTarget::G51, GPUTarget::G51BIG, GPUTarget::G51LIT,
- GPUTarget::G52, GPUTarget::G52LIT))
- {
- lws_hint = cl::NDRange(1, 1, 1);
- }
-
- k.set_lws_hint(lws_hint);
-}
-
void tune_gemm_kernel(CLGEMMMatrixMultiplyKernel &k)
{
cl::NDRange lws_hint = k.lws_hint();
@@ -293,10 +275,6 @@ void BifrostTuner::tune_kernel_static(ICLKernel &kernel)
{
tune_im2col_kernel(*utils::cast::polymorphic_downcast<CLIm2ColKernel *>(&kernel));
}
- else if(dynamic_cast<CLGEMMMatrixVectorMultiplyKernel *>(&kernel) != nullptr)
- {
- tune_gemv_kernel(*utils::cast::polymorphic_downcast<CLGEMMMatrixVectorMultiplyKernel *>(&kernel));
- }
else if(dynamic_cast<CLGEMMMatrixMultiplyKernel *>(&kernel) != nullptr)
{
tune_gemm_kernel(*utils::cast::polymorphic_downcast<CLGEMMMatrixMultiplyKernel *>(&kernel));