From ebc72ac2819df05d0c5d6d6a6dd71ce47fce848d Mon Sep 17 00:00:00 2001 From: limingshu <61349199+JamesLim-sy@users.noreply.github.com> Date: Thu, 30 Dec 2021 13:58:56 +0800 Subject: [PATCH] first commit (#38590) --- paddle/fluid/operators/conv_cudnn_helper.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/paddle/fluid/operators/conv_cudnn_helper.h b/paddle/fluid/operators/conv_cudnn_helper.h index a783a619473..4c972739175 100644 --- a/paddle/fluid/operators/conv_cudnn_helper.h +++ b/paddle/fluid/operators/conv_cudnn_helper.h @@ -164,7 +164,7 @@ void ChooseAlgo(const std::vector& perf_results, VLOG(3) << " choose algo: " << result.algo << ", TC: " << math_type_str << ", time: " << result.time << " ms" << ", wksp = " << result.memory << ", status = " << result.status; - return; + break; } } } @@ -197,7 +197,6 @@ static void SetConvMathType(const framework::ExecutionContext& ctx, VLOG(5) << "NOT use cudnn_tensor_op_math"; } #endif - return; } struct ConvArgs { -- GitLab