未验证 提交 d9dd840f 编写于 作者: A Aganlengzi 提交者: GitHub

Publish header files for out user (#40150)

上级 b9672a1e
......@@ -26,6 +26,7 @@ DECLARE_uint64(reallocate_gpu_memory_in_mb);
#endif
#include "paddle/fluid/platform/device/device_wrapper.h"
#include "paddle/fluid/platform/place.h"
namespace paddle {
namespace memory {
......
......@@ -30,8 +30,6 @@
#include <memory>
#include <mutex> // NOLINT
#include "paddle/fluid/platform/enforce.h"
namespace phi {
namespace stream {
......
......@@ -14,6 +14,7 @@
#include "paddle/phi/backends/device_base.h"
#include "gflags/gflags.h"
#include "paddle/phi/core/enforce.h"
DECLARE_double(fraction_of_gpu_memory_to_use);
DECLARE_uint64(initial_gpu_memory_in_mb);
......
......@@ -13,7 +13,8 @@
// limitations under the License.
#pragma once
#include "paddle/fluid/platform/place.h"
#include "paddle/phi/common/place.h"
#include "paddle/phi/core/macros.h"
namespace phi {
......
......@@ -14,8 +14,9 @@
#pragma once
#include "paddle/fluid/platform/place.h"
#include "paddle/phi/backends/callback_manager.h"
#include "paddle/phi/common/place.h"
#include "paddle/phi/core/macros.h"
namespace phi {
......
......@@ -576,8 +576,12 @@ headers = (
list(find_files('*.h', '@PADDLE_SOURCE_DIR@/paddle/phi/api/include')) + # phi api
list(find_files('*.h', '@PADDLE_SOURCE_DIR@/paddle/phi/common')) + # phi common headers
# phi level api headers (low level api)
list(find_files('*.h', '@PADDLE_SOURCE_DIR@/paddle/phi/core', recursive=True)) + # phi core headers
list(find_files('*.h', '@PADDLE_SOURCE_DIR@/paddle/phi')) + # phi extension header
list(find_files('*.h', '@PADDLE_SOURCE_DIR@/paddle/phi/include', recursive=True)) + # phi include headers
list(find_files('*.h', '@PADDLE_SOURCE_DIR@/paddle/phi/backends', recursive=True)) + # phi backends headers
list(find_files('*.h', '@PADDLE_SOURCE_DIR@/paddle/phi/core', recursive=True)) + # phi core headers
list(find_files('*.h', '@PADDLE_SOURCE_DIR@/paddle/phi/infermeta', recursive=True)) + # phi infermeta headers
list(find_files('*.h', '@PADDLE_SOURCE_DIR@/paddle/phi/kernels', recursive=True)) + # phi kernels headers
# utila api headers
list(find_files('*.h', '@PADDLE_SOURCE_DIR@/paddle/utils', recursive=True))) # paddle utils headers
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册