未验证 提交 6783441e 编写于 作者: 石晓伟 提交者: GitHub

fix repeat definitions in liengine.cc, test=develop (#25020)

上级 fa657b3d
......@@ -28,6 +28,10 @@ if (NOT LITE_SOURCE_DIR OR NOT LITE_BINARY_DIR)
set(LITE_GIT_TAG 34c29406c27ee00cef033a98887403443eb2565f)
endif()
if(NOT CUDA_ARCH_NAME)
set(CUDA_ARCH_NAME "Auto")
endif()
# No quotes, so cmake can resolve it as a command with arguments.
set(LITE_BUILD_COMMAND $(MAKE) publish_inference -j)
set(LITE_OPTIONAL_ARGS -DWITH_MKL=ON
......
......@@ -18,6 +18,10 @@
#include "paddle/fluid/inference/lite/engine.h"
#include "lite/api/paddle_use_kernels.h"
#include "lite/api/paddle_use_ops.h"
#include "lite/api/paddle_use_passes.h"
namespace paddle {
namespace inference {
namespace lite {
......
......@@ -24,9 +24,6 @@
#pragma GCC diagnostic ignored "-Wall"
#include "lite/api/cxx_api.h"
#include "lite/api/paddle_place.h"
#include "lite/api/paddle_use_kernels.h"
#include "lite/api/paddle_use_ops.h"
#include "lite/api/paddle_use_passes.h"
#include "lite/core/context.h"
#include "lite/core/device_info.h"
#include "lite/core/op_registry.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册