Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
机器未来
Paddle
提交
d2e59e15
P
Paddle
项目概览
机器未来
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
d2e59e15
编写于
7月 15, 2022
作者:
R
Ruibiao Chen
提交者:
GitHub
7月 15, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove boost library (#44092)
上级
f9130835
变更
23
显示空白变更内容
内联
并排
Showing
23 changed file
with
45 addition
and
152 deletion
+45
-152
cmake/external/boost.cmake
cmake/external/boost.cmake
+0
-64
cmake/inference_lib.cmake
cmake/inference_lib.cmake
+0
-6
cmake/third_party.cmake
cmake/third_party.cmake
+4
-17
paddle/fluid/distributed/ps/service/CMakeLists.txt
paddle/fluid/distributed/ps/service/CMakeLists.txt
+6
-12
paddle/fluid/distributed/ps/service/communicator/CMakeLists.txt
.../fluid/distributed/ps/service/communicator/CMakeLists.txt
+1
-7
paddle/fluid/distributed/ps/table/CMakeLists.txt
paddle/fluid/distributed/ps/table/CMakeLists.txt
+1
-2
paddle/fluid/distributed/ps/table/memory_sparse_table.cc
paddle/fluid/distributed/ps/table/memory_sparse_table.cc
+2
-3
paddle/fluid/distributed/test/CMakeLists.txt
paddle/fluid/distributed/test/CMakeLists.txt
+6
-10
paddle/fluid/framework/CMakeLists.txt
paddle/fluid/framework/CMakeLists.txt
+6
-6
paddle/fluid/framework/details/build_strategy.h
paddle/fluid/framework/details/build_strategy.h
+0
-1
paddle/fluid/framework/io/CMakeLists.txt
paddle/fluid/framework/io/CMakeLists.txt
+1
-1
paddle/fluid/framework/paddle2cinn/CMakeLists.txt
paddle/fluid/framework/paddle2cinn/CMakeLists.txt
+1
-1
paddle/fluid/inference/lite/CMakeLists.txt
paddle/fluid/inference/lite/CMakeLists.txt
+2
-2
paddle/fluid/inference/tensorrt/CMakeLists.txt
paddle/fluid/inference/tensorrt/CMakeLists.txt
+3
-3
paddle/fluid/operators/CMakeLists.txt
paddle/fluid/operators/CMakeLists.txt
+1
-1
paddle/fluid/operators/dlnne/CMakeLists.txt
paddle/fluid/operators/dlnne/CMakeLists.txt
+0
-1
paddle/fluid/operators/string/faster_tokenizer_op.cc
paddle/fluid/operators/string/faster_tokenizer_op.cc
+0
-1
paddle/fluid/platform/CMakeLists.txt
paddle/fluid/platform/CMakeLists.txt
+5
-5
paddle/fluid/platform/device/mlu/CMakeLists.txt
paddle/fluid/platform/device/mlu/CMakeLists.txt
+1
-1
paddle/fluid/platform/device/npu/CMakeLists.txt
paddle/fluid/platform/device/npu/CMakeLists.txt
+1
-1
paddle/fluid/platform/stream/CMakeLists.txt
paddle/fluid/platform/stream/CMakeLists.txt
+1
-1
paddle/infrt/CMakeLists.txt
paddle/infrt/CMakeLists.txt
+2
-2
paddle/phi/kernels/autotune/CMakeLists.txt
paddle/phi/kernels/autotune/CMakeLists.txt
+1
-4
未找到文件。
cmake/external/boost.cmake
已删除
100644 → 0
浏览文件 @
f9130835
# Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
include
(
ExternalProject
)
set
(
BOOST_PROJECT
"extern_boost"
)
# To release PaddlePaddle as a pip package, we have to follow the
# manylinux1 standard, which features as old Linux kernels and
# compilers as possible and recommends CentOS 5. Indeed, the earliest
# CentOS version that works with NVIDIA CUDA is CentOS 6. And a new
# version of boost, say, 1.66.0, doesn't build on CentOS 6. We
# checked that the devtools package of CentOS 6 installs boost 1.41.0.
# So we use 1.41.0 here.
set
(
BOOST_VER
"1.41.0"
)
# boost_1_41_0_2021_10.tar.gz is almost the same with boost_1_41_0.tar.gz,
# except in visualc.hpp i comment a warning of "unknown compiler version",
# so if you need to change boost, you may need to block the warning similarly.
set
(
BOOST_TAR
"boost_1_41_0_2021_10"
CACHE STRING
""
FORCE
)
set
(
BOOST_URL
"http://paddlepaddledeps.bj.bcebos.com/
${
BOOST_TAR
}
.tar.gz"
CACHE STRING
""
FORCE
)
message
(
STATUS
"BOOST_VERSION:
${
BOOST_VER
}
, BOOST_URL:
${
BOOST_URL
}
"
)
set
(
BOOST_PREFIX_DIR
${
THIRD_PARTY_PATH
}
/boost
)
set
(
BOOST_INCLUDE_DIR
"
${
THIRD_PARTY_PATH
}
/boost/src/extern_boost"
CACHE PATH
"boost include directory."
FORCE
)
set_directory_properties
(
PROPERTIES CLEAN_NO_CUSTOM 1
)
include_directories
(
${
BOOST_INCLUDE_DIR
}
)
if
(
WIN32 AND MSVC_VERSION GREATER_EQUAL 1600
)
add_definitions
(
-DBOOST_HAS_STATIC_ASSERT
)
endif
()
ExternalProject_Add
(
${
BOOST_PROJECT
}
${
EXTERNAL_PROJECT_LOG_ARGS
}
URL
${
BOOST_URL
}
URL_MD5 51be7cc203628dc0848e97eee32d79e3
PREFIX
${
BOOST_PREFIX_DIR
}
DOWNLOAD_NO_PROGRESS 1
CONFIGURE_COMMAND
""
BUILD_COMMAND
""
INSTALL_COMMAND
""
UPDATE_COMMAND
""
)
add_library
(
boost INTERFACE
)
add_dependencies
(
boost
${
BOOST_PROJECT
}
)
set
(
Boost_INCLUDE_DIR
${
BOOST_INCLUDE_DIR
}
)
cmake/inference_lib.cmake
浏览文件 @
d2e59e15
...
...
@@ -471,12 +471,6 @@ copy(
${
EIGEN_INCLUDE_DIR
}
/unsupported/Eigen
DSTS
${
dst_dir
}
/Eigen
${
dst_dir
}
/Eigen
${
dst_dir
}
/unsupported
)
set
(
dst_dir
"
${
PADDLE_INSTALL_DIR
}
/third_party/boost"
)
copy
(
inference_lib_dist
SRCS
${
BOOST_INCLUDE_DIR
}
/boost
DSTS
${
dst_dir
}
)
set
(
dst_dir
"
${
PADDLE_INSTALL_DIR
}
/third_party/dlpack"
)
copy
(
inference_lib_dist
...
...
cmake/third_party.cmake
浏览文件 @
d2e59e15
...
...
@@ -246,7 +246,6 @@ endif()
include
(
external/zlib
)
# download, build, install zlib
include
(
external/gflags
)
# download, build, install gflags
include
(
external/glog
)
# download, build, install glog
include
(
external/boost
)
# download boost
include
(
external/eigen
)
# download eigen3
include
(
external/threadpool
)
# download threadpool
include
(
external/dlpack
)
# download dlpack
...
...
@@ -254,13 +253,7 @@ include(external/xxhash) # download, build, install xxhash
include
(
external/warpctc
)
# download, build, install warpctc
include
(
external/utf8proc
)
# download, build, install utf8proc
list
(
APPEND
third_party_deps
extern_eigen3
extern_gflags
extern_glog
extern_boost
list
(
APPEND third_party_deps extern_eigen3 extern_gflags extern_glog
extern_xxhash
)
list
(
APPEND
...
...
@@ -272,13 +265,7 @@ list(
extern_utf8proc
)
include
(
external/lapack
)
# download, build, install lapack
list
(
APPEND
third_party_deps
extern_eigen3
extern_gflags
extern_glog
extern_boost
list
(
APPEND third_party_deps extern_eigen3 extern_gflags extern_glog
extern_xxhash
)
list
(
APPEND
...
...
paddle/fluid/distributed/ps/service/CMakeLists.txt
浏览文件 @
d2e59e15
...
...
@@ -86,35 +86,29 @@ cc_library(
cc_library
(
downpour_server
SRCS graph_brpc_server.cc brpc_ps_server.cc
DEPS
boost
eigen3 table brpc_utils simple_threadpool
${
RPC_DEPS
}
)
DEPS eigen3 table brpc_utils simple_threadpool
${
RPC_DEPS
}
)
cc_library
(
downpour_client
SRCS graph_brpc_client.cc brpc_ps_client.cc ps_local_client.cc
DEPS
boost
eigen3 table brpc_utils simple_threadpool
${
RPC_DEPS
}
)
DEPS eigen3 table brpc_utils simple_threadpool
${
RPC_DEPS
}
)
cc_library
(
client
SRCS ps_client.cc
DEPS downpour_client
boost
${
RPC_DEPS
}
)
DEPS downpour_client
${
RPC_DEPS
}
)
cc_library
(
server
SRCS server.cc
DEPS downpour_server
boost
${
RPC_DEPS
}
)
DEPS downpour_server
${
RPC_DEPS
}
)
cc_library
(
communicator
SRCS communicator/communicator.cc
DEPS scope
client
boost
table
math_function
selected_rows_functor
${
RPC_DEPS
}
)
DEPS scope client table math_function selected_rows_functor
${
RPC_DEPS
}
)
cc_library
(
ps_service
SRCS ps_service/service.cc
DEPS communicator client server
boost
${
RPC_DEPS
}
)
DEPS communicator client server
${
RPC_DEPS
}
)
cc_library
(
heter_client
...
...
paddle/fluid/distributed/ps/service/communicator/CMakeLists.txt
浏览文件 @
d2e59e15
...
...
@@ -6,10 +6,4 @@ set_source_files_properties(
cc_library
(
communicator
SRCS communicator.cc
DEPS scope
client
boost
table
math_function
selected_rows_functor
${
RPC_DEPS
}
)
DEPS scope client table math_function selected_rows_functor
${
RPC_DEPS
}
)
paddle/fluid/distributed/ps/table/CMakeLists.txt
浏览文件 @
d2e59e15
...
...
@@ -119,7 +119,6 @@ cc_library(
string_helper
device_context
gflags
glog
boost
)
glog
)
target_link_libraries
(
table -fopenmp
)
paddle/fluid/distributed/ps/table/memory_sparse_table.cc
浏览文件 @
d2e59e15
...
...
@@ -18,7 +18,6 @@
#include <sstream>
#include "boost/lexical_cast.hpp"
#include "glog/logging.h"
#include "paddle/fluid/distributed/common/cost_timer.h"
#include "paddle/fluid/framework/io/fs.h"
...
...
@@ -530,7 +529,7 @@ int32_t MemorySparseTable::PullSparsePtr(char** pull_values,
mf_value_size
]()
->
int
{
auto
&
keys
=
task_keys
[
shard_id
];
auto
&
local_shard
=
_local_shards
[
shard_id
];
float
data_buffer
[
value_size
];
float
data_buffer
[
value_size
];
// NOLINT
float
*
data_buffer_ptr
=
data_buffer
;
for
(
size_t
i
=
0
;
i
<
keys
.
size
();
++
i
)
{
uint64_t
key
=
keys
[
i
].
first
;
...
...
@@ -549,7 +548,7 @@ int32_t MemorySparseTable::PullSparsePtr(char** pull_values,
ret
=
itr
.
value_ptr
();
}
int
pull_data_idx
=
keys
[
i
].
second
;
pull_values
[
pull_data_idx
]
=
(
char
*
)
ret
;
pull_values
[
pull_data_idx
]
=
(
char
*
)
ret
;
// NOLINT
}
return
0
;
});
...
...
paddle/fluid/distributed/test/CMakeLists.txt
浏览文件 @
d2e59e15
...
...
@@ -32,7 +32,6 @@ cc_test(
client
communicator
ps_service
boost
table
ps_framework_proto
${
COMMON_DEPS
}
)
...
...
@@ -48,7 +47,6 @@ cc_test(
client
communicator
ps_service
boost
table
ps_framework_proto
${
COMMON_DEPS
}
)
...
...
@@ -71,7 +69,6 @@ cc_test(
client
communicator
ps_service
boost
table
ps_framework_proto
${
COMMON_DEPS
}
)
...
...
@@ -87,7 +84,6 @@ cc_test(
client
communicator
ps_service
boost
table
ps_framework_proto
${
COMMON_DEPS
}
)
...
...
@@ -105,28 +101,28 @@ set_source_files_properties(
cc_test
(
feature_value_test
SRCS feature_value_test.cc
DEPS
${
COMMON_DEPS
}
boost
table
)
DEPS
${
COMMON_DEPS
}
table
)
set_source_files_properties
(
sparse_sgd_rule_test.cc PROPERTIES COMPILE_FLAGS
${
DISTRIBUTE_COMPILE_FLAGS
}
)
cc_test
(
sparse_sgd_rule_test
SRCS sparse_sgd_rule_test.cc
DEPS
${
COMMON_DEPS
}
boost
table
)
DEPS
${
COMMON_DEPS
}
table
)
set_source_files_properties
(
ctr_accessor_test.cc PROPERTIES COMPILE_FLAGS
${
DISTRIBUTE_COMPILE_FLAGS
}
)
cc_test
(
ctr_accessor_test
SRCS ctr_accessor_test.cc
DEPS
${
COMMON_DEPS
}
boost
table
)
DEPS
${
COMMON_DEPS
}
table
)
set_source_files_properties
(
ctr_dymf_accessor_test.cc PROPERTIES COMPILE_FLAGS
${
DISTRIBUTE_COMPILE_FLAGS
}
)
cc_test
(
ctr_dymf_accessor_test
SRCS ctr_dymf_accessor_test.cc
DEPS
${
COMMON_DEPS
}
boost
table
)
DEPS
${
COMMON_DEPS
}
table
)
set_source_files_properties
(
memory_sparse_table_test.cc PROPERTIES COMPILE_FLAGS
...
...
@@ -134,11 +130,11 @@ set_source_files_properties(
cc_test
(
memory_sparse_table_test
SRCS memory_sparse_table_test.cc
DEPS
${
COMMON_DEPS
}
boost
table
)
DEPS
${
COMMON_DEPS
}
table
)
set_source_files_properties
(
memory_geo_table_test.cc PROPERTIES COMPILE_FLAGS
${
DISTRIBUTE_COMPILE_FLAGS
}
)
cc_test
(
memory_sparse_geo_table_test
SRCS memory_geo_table_test.cc
DEPS
${
COMMON_DEPS
}
boost
table
)
DEPS
${
COMMON_DEPS
}
table
)
paddle/fluid/framework/CMakeLists.txt
浏览文件 @
d2e59e15
...
...
@@ -45,7 +45,7 @@ proto_library(op_def_proto SRCS op_def.proto DEPS framework_proto)
cc_library
(
op_def_api
SRCS op_def_api.cc
DEPS op_def_proto
boost
)
DEPS op_def_proto
)
file
(
GLOB OP_DEF_FILES
${
PADDLE_SOURCE_DIR
}
/paddle/fluid/operators/compat/*.pbtxt
)
...
...
@@ -341,7 +341,7 @@ cc_library(
cc_library
(
attribute
SRCS attribute.cc
DEPS framework_proto
boost
enforce
)
DEPS framework_proto enforce
)
cc_test
(
attribute_test
SRCS attribute_test.cc
...
...
@@ -354,12 +354,12 @@ cc_test(
cc_library
(
op_version_proto
SRCS op_version_proto.cc
DEPS framework_proto
boost
)
DEPS framework_proto
)
cc_library
(
op_version_registry
SRCS op_version_registry.cc
DEPS op_version_proto framework_proto
boost
)
DEPS op_version_proto framework_proto
)
cc_test
(
op_version_registry_test
SRCS op_version_registry_test.cc
...
...
@@ -519,7 +519,7 @@ cc_test(
cc_library
(
program_processing
SRCS program_processing.cc
DEPS
boost
proto_desc
)
DEPS proto_desc
)
cc_test
(
program_processing_test
SRCS program_processing_test.cc
...
...
@@ -1025,7 +1025,7 @@ endif()
cc_library
(
prune
SRCS prune.cc
DEPS framework_proto
boost
)
DEPS framework_proto
)
cc_test
(
prune_test
SRCS prune_test.cc
...
...
paddle/fluid/framework/details/build_strategy.h
浏览文件 @
d2e59e15
...
...
@@ -21,7 +21,6 @@
#include <utility>
#include <vector>
#include "boost/optional.hpp"
#include "paddle/fluid/framework/ir/pass_builder.h"
#include "paddle/fluid/framework/program_desc.h"
#include "paddle/fluid/framework/scope.h"
...
...
paddle/fluid/framework/io/CMakeLists.txt
浏览文件 @
d2e59e15
...
...
@@ -5,7 +5,7 @@ cc_library(
cc_library
(
fs
SRCS fs.cc
DEPS string_helper glog
boost
enforce shell
)
DEPS string_helper glog enforce shell
)
cc_test
(
test_fs
...
...
paddle/fluid/framework/paddle2cinn/CMakeLists.txt
浏览文件 @
d2e59e15
cc_library
(
cinn_cache_key
SRCS cinn_cache_key.cc
DEPS
boost
graph graph_helper lod_tensor proto_desc
)
DEPS graph graph_helper lod_tensor proto_desc
)
cc_library
(
build_cinn_pass
SRCS build_cinn_pass.cc
...
...
paddle/fluid/inference/lite/CMakeLists.txt
浏览文件 @
d2e59e15
...
...
@@ -5,7 +5,7 @@ endif()
cc_library
(
lite_op_teller
SRCS op_teller.cc
DEPS
${
LITE_DEPS
}
framework_proto device_context
boost
xxhash
)
DEPS
${
LITE_DEPS
}
framework_proto device_context xxhash
)
cc_library
(
lite_engine
SRCS engine.cc
...
...
@@ -13,7 +13,7 @@ cc_library(
cc_library
(
lite_tensor_utils
SRCS tensor_utils.cc
DEPS memcpy
${
LITE_DEPS
}
framework_proto
boost
device_context
${
XPU_DEPS
}
)
DEPS memcpy
${
LITE_DEPS
}
framework_proto device_context
${
XPU_DEPS
}
)
cc_test
(
test_lite_engine
SRCS test_engine_lite.cc
...
...
paddle/fluid/inference/tensorrt/CMakeLists.txt
浏览文件 @
d2e59e15
...
...
@@ -4,18 +4,18 @@ if(WIN32)
nv_library
(
tensorrt_engine
SRCS engine.cc trt_int8_calibrator.cc
DEPS
${
GLOB_OPERATOR_DEPS
}
framework_proto device_context
boost
DEPS
${
GLOB_OPERATOR_DEPS
}
framework_proto device_context
paddle_inference_api
)
else
()
nv_library
(
tensorrt_engine
SRCS engine.cc trt_int8_calibrator.cc
DEPS
${
GLOB_OPERATOR_DEPS
}
framework_proto device_context
boost
)
DEPS
${
GLOB_OPERATOR_DEPS
}
framework_proto device_context
)
endif
()
nv_library
(
tensorrt_op_teller
SRCS op_teller.cc
DEPS framework_proto device_context
boost
)
DEPS framework_proto device_context
)
nv_test
(
test_tensorrt
SRCS test_tensorrt.cc
...
...
paddle/fluid/operators/CMakeLists.txt
浏览文件 @
d2e59e15
...
...
@@ -172,7 +172,7 @@ sequence_pooling executor device_memory_aligment generator)
set
(
COMMON_OP_DEPS
${
COMMON_OP_DEPS
}
dynload_warpctc
)
set
(
COMMON_OP_DEPS
${
COMMON_OP_DEPS
}
sequence_padding sequence_scale cos_sim_functor memory jit_kernel_helper concat_and_split cross_entropy softmax vol2col im2col sampler sample_prob tree2col
)
set
(
COMMON_OP_DEPS
${
COMMON_OP_DEPS
}
sequence2batch lstm_compute matrix_bit_code gru_compute activation_functions beam_search fc_functor matrix_inverse matrix_solve
)
set
(
COMMON_OP_DEPS
${
COMMON_OP_DEPS
}
box_wrapper
boost
ps_gpu_wrapper
)
set
(
COMMON_OP_DEPS
${
COMMON_OP_DEPS
}
box_wrapper ps_gpu_wrapper
)
set
(
COMMON_OP_DEPS
${
COMMON_OP_DEPS
}
common_infer_shape_functions
)
set
(
COMMON_OP_DEPS
${
COMMON_OP_DEPS
}
eigen_function
)
if
(
WITH_GPU OR WITH_ROCM
)
...
...
paddle/fluid/operators/dlnne/CMakeLists.txt
浏览文件 @
d2e59e15
...
...
@@ -39,7 +39,6 @@ op_library(
DEPS
${
GLOB_OPERATOR_DEPS
}
framework_proto
boost
device_context
op_registry
scope
)
...
...
paddle/fluid/operators/string/faster_tokenizer_op.cc
浏览文件 @
d2e59e15
...
...
@@ -14,7 +14,6 @@ limitations under the License. */
#include <utf8proc.h>
#include <algorithm>
#include <boost/algorithm/string.hpp>
#include <chrono>
#include <codecvt>
#include <fstream>
...
...
paddle/fluid/platform/CMakeLists.txt
浏览文件 @
d2e59e15
...
...
@@ -37,7 +37,7 @@ endif()
cc_library
(
flags
SRCS flags.cc
DEPS gflags
boost
)
DEPS gflags
)
cc_library
(
denormal
SRCS denormal.cc
...
...
@@ -48,7 +48,7 @@ cc_test(
SRCS errors_test.cc
DEPS errors enforce
)
set
(
enforce_deps flags errors
boost
flags phi_enforce
)
set
(
enforce_deps flags errors flags phi_enforce
)
if
(
WITH_GPU
)
set
(
enforce_deps
${
enforce_deps
}
external_error_proto
)
endif
()
...
...
@@ -99,7 +99,7 @@ endif()
cc_library
(
place
SRCS place.cc
DEPS enforce
boost
phi_place
)
DEPS enforce phi_place
)
cc_test
(
place_test
SRCS place_test.cc
...
...
@@ -185,7 +185,7 @@ endif()
cc_library
(
cudnn_workspace_helper
SRCS cudnn_workspace_helper.cc
DEPS
boost
)
DEPS
)
# separate init from device_context to avoid cycle dependencies
cc_library
(
...
...
@@ -372,7 +372,7 @@ add_subdirectory(profiler)
cc_library
(
device_tracer
SRCS device_tracer.cc
DEPS
boost
profiler_proto framework_proto
${
GPU_CTX_DEPS
}
)
DEPS profiler_proto framework_proto
${
GPU_CTX_DEPS
}
)
if
(
WITH_GPU
)
nv_library
(
profiler
...
...
paddle/fluid/platform/device/mlu/CMakeLists.txt
浏览文件 @
d2e59e15
...
...
@@ -13,7 +13,7 @@ cc_library(
cc_library
(
mlu_stream
SRCS mlu_stream.cc
DEPS
boost
mlu_info stream_callback_manager eigen3
${
MKLDNN_CTX_DEPS
}
)
DEPS mlu_info stream_callback_manager eigen3
${
MKLDNN_CTX_DEPS
}
)
cc_library
(
mlu_device_context
SRCS device_context.cc
...
...
paddle/fluid/platform/device/npu/CMakeLists.txt
浏览文件 @
d2e59e15
...
...
@@ -21,7 +21,7 @@ if(WITH_ASCEND_CL)
cc_library
(
npu_stream
SRCS npu_stream.cc
DEPS enforce
boost
stream_callback_manager
)
DEPS enforce stream_callback_manager
)
cc_library
(
npu_collective_helper
SRCS npu_collective_helper.cc
...
...
paddle/fluid/platform/stream/CMakeLists.txt
浏览文件 @
d2e59e15
...
...
@@ -2,5 +2,5 @@ if(WITH_GPU OR WITH_ROCM)
cc_library
(
cuda_stream
SRCS cuda_stream.cc
DEPS enforce
boost
eigen3
${
MKLDNN_CTX_DEPS
}
)
DEPS enforce eigen3
${
MKLDNN_CTX_DEPS
}
)
endif
()
paddle/infrt/CMakeLists.txt
浏览文件 @
d2e59e15
...
...
@@ -128,11 +128,11 @@ endif()
cc_library
(
infrt SHARED
SRCS
${
infrt_src
}
DEPS glog
boost
${
mlir_libs
}
${
phi_libs
}
paddle_framework_proto infrt_naive
)
DEPS glog
${
mlir_libs
}
${
phi_libs
}
paddle_framework_proto infrt_naive
)
cc_library
(
infrt_static
SRCS
${
infrt_src
}
DEPS glog
boost
${
mlir_libs
}
${
phi_libs
}
paddle_framework_proto
)
DEPS glog
${
mlir_libs
}
${
phi_libs
}
paddle_framework_proto
)
add_dependencies
(
infrt
${
infrt_mlir_incs
}
mlir-headers
)
add_custom_target
(
test_infrt_exec DEPENDS
${
INFRT_TEST_TARGETS
}
)
paddle/phi/kernels/autotune/CMakeLists.txt
浏览文件 @
d2e59e15
...
...
@@ -18,10 +18,7 @@ elseif(WITH_ROCM)
DEPS gtest
)
endif
()
cc_library
(
cache
SRCS cache.cc
DEPS boost
)
cc_library
(
cache SRCS cache.cc
)
cc_library
(
switch_autotune
SRCS switch_autotune.cc
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录