Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OPTHREE
Paddle
提交
2be7cf90
P
Paddle
项目概览
OPTHREE
/
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
2be7cf90
编写于
1月 16, 2018
作者:
L
Luo Tao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add paddle INSTALL for fluid api
上级
c0f0f233
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
33 addition
and
1 deletion
+33
-1
paddle/framework/CMakeLists.txt
paddle/framework/CMakeLists.txt
+6
-0
paddle/inference/CMakeLists.txt
paddle/inference/CMakeLists.txt
+6
-0
paddle/memory/CMakeLists.txt
paddle/memory/CMakeLists.txt
+7
-0
paddle/platform/CMakeLists.txt
paddle/platform/CMakeLists.txt
+8
-0
paddle/string/CMakeLists.txt
paddle/string/CMakeLists.txt
+6
-1
未找到文件。
paddle/framework/CMakeLists.txt
浏览文件 @
2be7cf90
...
...
@@ -84,3 +84,9 @@ cc_test(op_kernel_type_test SRCS op_kernel_type_test.cc DEPS place device_contex
cc_test
(
cow_ptr_tests SRCS details/cow_ptr_test.cc
)
nv_test
(
data_device_transform_test SRCS data_device_transform_test.cu
DEPS operator op_registry init math_function
)
if
(
NOT WITH_C_API AND WITH_FLUID
)
file
(
GLOB FRAMEWORK_HEADERS *.h
)
install
(
FILES
${
FRAMEWORK_HEADERS
}
DESTINATION include/paddle/framework
)
install
(
FILES details/cow_ptr.h details/op_registry.h DESTINATION include/paddle/framework/details
)
endif
()
paddle/inference/CMakeLists.txt
浏览文件 @
2be7cf90
...
...
@@ -16,6 +16,12 @@ target_circle_link_libraries(paddle_fluid_shared
ARCHIVE_END
${
FLUID_CORE_MODULES
}
)
# install library & headers
if
(
NOT WITH_C_API AND WITH_FLUID
)
install
(
FILES inference.h DESTINATION include/paddle/inference
)
install
(
TARGETS paddle_fluid_shared DESTINATION lib
)
endif
()
# ptools
# just for testing, we may need to change the storing format for inference_model
# and move the dependent of pickle.
...
...
paddle/memory/CMakeLists.txt
浏览文件 @
2be7cf90
...
...
@@ -14,3 +14,10 @@ cc_library(paddle_memory
system_allocator
)
cc_test
(
memory_test SRCS memory_test.cc DEPS place paddle_memory
)
if
(
NOT WITH_C_API AND WITH_FLUID
)
file
(
GLOB MEMORY_HEADERS *.h
)
file
(
GLOB MEMORY_DETAIL_HEADERS detail/*.h
)
install
(
FILES
${
MEMORY_HEADERS
}
DESTINATION include/paddle/memory
)
install
(
FILES
${
MEMORY_DETAIL_HEADERS
}
DESTINATION include/paddle/memory/detail
)
endif
()
paddle/platform/CMakeLists.txt
浏览文件 @
2be7cf90
...
...
@@ -39,3 +39,11 @@ nv_test(nccl_test SRCS nccl_test.cu DEPS dynload_cuda gpu_info device_context)
cc_library
(
profiler SRCS profiler.cc DEPS device_context
)
cc_test
(
profiler_test SRCS profiler_test.cc DEPS profiler
)
if
(
NOT WITH_C_API AND WITH_FLUID
)
file
(
GLOB PLATFORM_HEADERS *.h
)
file
(
GLOB PLATFORM_dynload_HEADERS dynload/*.h
)
install
(
FILES
${
PLATFORM_HEADERS
}
DESTINATION include/paddle/platform
)
install
(
FILES
${
PLATFORM_HEADERS
}
DESTINATION include/paddle/platform/dynload
)
install
(
FILES details/device_ptr_cast.h DESTINATION include/paddle/platform/details
)
endif
()
paddle/string/CMakeLists.txt
浏览文件 @
2be7cf90
cc_library
(
stringpiece SRCS piece.cc
)
cc_test
(
stringpiece_test SRCS piece_test.cc DEPS stringpiece glog gflags
)
cc_test
(
stringprintf_test SRCS printf_test.cc DEPS glog gflags
)
cc_test
(
to_string_test SRCS to_string_test.cc
)
if
(
NOT WITH_C_API AND WITH_FLUID
)
file
(
GLOB STRING_HEADERS *.h
)
install
(
FILES
${
STRING_HEADERS
}
DESTINATION include/paddle/memory
)
install
(
FILES tinyformat/tinyformat.h DESTINATION include/paddle/memory/tinyformat
)
endif
()
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录