From 81e505df8a12839dae5440c61d81681b32106805 Mon Sep 17 00:00:00 2001 From: Zhanlue Yang Date: Wed, 23 Mar 2022 19:53:56 +0800 Subject: [PATCH] Fixed CI failure with test_egr_task_eager_utils,test=document_fix (#40854) --- paddle/fluid/eager/tests/task_tests/eager_utils_test.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/paddle/fluid/eager/tests/task_tests/eager_utils_test.cc b/paddle/fluid/eager/tests/task_tests/eager_utils_test.cc index 7486e711641..0bd1f3bdb36 100644 --- a/paddle/fluid/eager/tests/task_tests/eager_utils_test.cc +++ b/paddle/fluid/eager/tests/task_tests/eager_utils_test.cc @@ -24,6 +24,9 @@ #include "paddle/fluid/eager/utils.h" #include "paddle/phi/api/lib/utils/allocator.h" +#include "paddle/phi/core/kernel_registry.h" + +PD_DECLARE_KERNEL(full, CPU, ALL_LAYOUT); namespace egr { -- GitLab