未验证 提交 31858263 编写于 作者: X xiongkun 提交者: GitHub

lgamma tranfer make xpu ci failed. fix compile error in xpu CI (#40581)

上级 a991b6a0
......@@ -13,6 +13,8 @@
// limitations under the License.
#include "paddle/phi/kernels/lgamma_kernel.h"
#include <unsupported/Eigen/SpecialFunctions>
#include "paddle/phi/backends/cpu/cpu_context.h"
#include "paddle/phi/core/kernel_registry.h"
#include "paddle/phi/kernels/funcs/for_range.h"
......
......@@ -35,6 +35,10 @@
#include "paddle/phi/core/kernel_registry.h"
#include "paddle/phi/kernels/funcs/eigen/common.h"
#ifdef PADDLE_WITH_XPU_KP
#define __forceinline__ __inline__
#endif
namespace phi {
namespace funcs {
enum ActBwdOpFwdDeps {
......
......@@ -13,6 +13,7 @@
// limitations under the License.
#pragma once
#include <unsupported/Eigen/SpecialFunctions>
#include "paddle/phi/kernels/funcs/for_range.h"
namespace phi {
template <typename T>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册