From 7aabdfd95e83d2564ad9abdf1301e3ba5c8bd5d9 Mon Sep 17 00:00:00 2001 From: zhangbo9674 <82555433+zhangbo9674@users.noreply.github.com> Date: Fri, 26 May 2023 16:08:29 +0800 Subject: [PATCH] [IR] Set NEWIR compile flag is ON (#54123) * on * add covrage for ir --- CMakeLists.txt | 2 +- tools/coverage/paddle_coverage.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0bf93f0ed9d..bb6432e4175 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -307,7 +307,7 @@ option(WITH_CUDNN_FRONTEND "Compile with CUDNN Frontend API support (experimental)" OFF) option(WITH_CUDNN_DSO "Compile PaddlePaddle with cuDNN dynamic-link libraries" OFF) -option(WITH_NEWIR "Compile PaddlePaddle with NEWIR" OFF) +option(WITH_NEWIR "Compile PaddlePaddle with NEWIR" ON) if(WITH_RECORD_BUILDTIME) set_property( diff --git a/tools/coverage/paddle_coverage.sh b/tools/coverage/paddle_coverage.sh index 5eab79d9c9d..1b83103e015 100644 --- a/tools/coverage/paddle_coverage.sh +++ b/tools/coverage/paddle_coverage.sh @@ -50,6 +50,7 @@ function gen_full_html_report() { '/paddle/paddle/fluid/string/*' \ '/paddle/paddle/fluid/eager/*' \ '/paddle/paddle/phi/*' \ + '/paddle/paddle/ir/*' \ '/paddle/paddle/utils/*' \ -o coverage-full.tmp \ --rc lcov_branch_coverage=0 -- GitLab