From 5063284824cd510b51561080af81463340b71c2e Mon Sep 17 00:00:00 2001 From: huzhiqiang <912790387@qq.com> Date: Thu, 17 Sep 2020 10:28:39 +0800 Subject: [PATCH] [CI] Fix the issue that 'Server_CI' task may fail occasionally on `sgemm_test` #4345 --- lite/tests/math/sgemm_compute_test.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lite/tests/math/sgemm_compute_test.cc b/lite/tests/math/sgemm_compute_test.cc index b3ca5ec6ed..9255e5cdce 100644 --- a/lite/tests/math/sgemm_compute_test.cc +++ b/lite/tests/math/sgemm_compute_test.cc @@ -39,7 +39,13 @@ DEFINE_int32(power_mode, DEFINE_int32(threads, 1, "threads num"); DEFINE_int32(warmup, 0, "warmup times"); DEFINE_int32(repeats, 1, "repeats times"); +#ifdef LITE_WITH_ARM +// sgemm_test wiil not be operated except that it's +// on arm backend. DEFINE_bool(basic_test, true, "do all tests"); +#else +DEFINE_bool(basic_test, false, "do all tests"); +#endif DEFINE_bool(check_result, true, "check the result"); DEFINE_int32(M, 512, "gemm: M"); -- GitLab