Skip to content

Reduce build directory method

tianshuo78520a edited this page May 25, 2022 · 12 revisions

减少Build目录方法:

1. 避免custom kernel在pten_function_api中使用。参考[PR39661](https://github.com/PaddlePaddle/Paddle/pull/39661)

https://github.com/PaddlePaddle/Paddle/pull/39830 2. 移除#include paddle/phi/kernels/declarations.h头文件依赖。参考PR40256

3. 减少不必要的头文件引用`paddle/phi/kernels/declarations.h`。参考 [PR39830](https://github.com/PaddlePaddle/Paddle/pull/39830)

4) [PR 39830](https://github.com/PaddlePaddle/Paddle/pull/39830)
Clone this wiki locally