From 63a4c6f6043511c753cca5fed7cc478efb289d72 Mon Sep 17 00:00:00 2001 From: xiebaiyuan Date: Fri, 19 Jun 2020 11:45:21 +0800 Subject: [PATCH] [OPENCL] force close tune when not on mali, test=develop (#3809) --- lite/kernels/opencl/conv_image_compute.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lite/kernels/opencl/conv_image_compute.cc b/lite/kernels/opencl/conv_image_compute.cc index fed8171cc2..daf732f4b6 100644 --- a/lite/kernels/opencl/conv_image_compute.cc +++ b/lite/kernels/opencl/conv_image_compute.cc @@ -85,6 +85,9 @@ void ConvImageCompute::PrepareForRun() { << paddings[2] << " " << paddings[3]; CHECK(pad_equal && stride_equal && dilation_equal); + if (!is_mali) { + use_turn_ = false; + } // general gws.. auto out_image_shape = InitImageDimInfoWith(output_dims); -- GitLab