Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OPTHREE
Paddle
提交
67ba884d
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,发现更多精彩内容 >>
提交
67ba884d
编写于
4月 07, 2018
作者:
Y
Yi Wang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update CMakeLists
上级
478055bd
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
7 addition
and
10 deletion
+7
-10
paddle/fluid/memory/CMakeLists.txt
paddle/fluid/memory/CMakeLists.txt
+5
-6
paddle/fluid/memory/malloc.cc
paddle/fluid/memory/malloc.cc
+0
-0
paddle/fluid/memory/malloc.h
paddle/fluid/memory/malloc.h
+0
-0
paddle/fluid/memory/malloc_test.cc
paddle/fluid/memory/malloc_test.cc
+0
-1
paddle/fluid/memory/pinned_memory_test.cu
paddle/fluid/memory/pinned_memory_test.cu
+0
-1
paddle/fluid/platform/CMakeLists.txt
paddle/fluid/platform/CMakeLists.txt
+2
-2
未找到文件。
paddle/fluid/memory/CMakeLists.txt
浏览文件 @
67ba884d
add_subdirectory
(
detail
)
cc_library
(
m
emory SRCS memory.cc DEPS
place enforce
)
cc_library
(
m
alloc SRCS malloc.cc DEPS buddy_allocator
place enforce
)
cc_library
(
memcpy SRCS memcpy.cc DEPS place
)
cc_library
(
paddle_
memory
cc_library
(
memory
DEPS
memory
memcpy
buddy_allocator
)
malloc
memcpy
)
cc_test
(
m
emory_test SRCS memory_test.cc DEPS place paddle_memory
)
cc_test
(
m
alloc_test SRCS malloc_test.cc DEPS malloc
)
#if (WITH_GPU)
# nv_test(pinned_memory_test SRCS pinned_memory_test.cu DEPS place paddle_memory)
...
...
paddle/fluid/memory/m
emory
.cc
→
paddle/fluid/memory/m
alloc
.cc
浏览文件 @
67ba884d
文件已移动
paddle/fluid/memory/m
emory
.h
→
paddle/fluid/memory/m
alloc
.h
浏览文件 @
67ba884d
文件已移动
paddle/fluid/memory/m
emory
_test.cc
→
paddle/fluid/memory/m
alloc
_test.cc
浏览文件 @
67ba884d
...
...
@@ -18,7 +18,6 @@ limitations under the License. */
#include "gtest/gtest.h"
#include "paddle/fluid/memory/detail/memory_block.h"
#include "paddle/fluid/memory/detail/meta_data.h"
#include "paddle/fluid/platform/cpu_info.h"
#include "paddle/fluid/platform/gpu_info.h"
#include "paddle/fluid/platform/place.h"
...
...
paddle/fluid/memory/pinned_memory_test.cu
浏览文件 @
67ba884d
...
...
@@ -15,7 +15,6 @@ limitations under the License. */
#include <unordered_map>
#include "paddle/fluid/memory/detail/memory_block.h"
#include "paddle/fluid/memory/detail/meta_data.h"
#include "paddle/fluid/memory/memcpy.h"
#include "paddle/fluid/memory/memory.h"
...
...
paddle/fluid/platform/CMakeLists.txt
浏览文件 @
67ba884d
...
...
@@ -42,12 +42,12 @@ ENDIF()
# memcpy depends on device_context, here add deps individually for
# avoiding cycle dependencies
cc_library
(
device_context SRCS device_context.cc DEPS m
emory buddy_allocator
cc_library
(
device_context SRCS device_context.cc DEPS m
alloc
place eigen3
${
GPU_CTX_DEPS
}
${
MKLDNN_CTX_DEPS
}
)
nv_test
(
device_context_test SRCS device_context_test.cu DEPS device_context gpu_info
)
nv_test
(
cudnn_helper_test SRCS cudnn_helper_test.cc DEPS dynload_cuda
)
nv_test
(
transform_test SRCS transform_test.cu DEPS
paddle_
memory place device_context
)
nv_test
(
transform_test SRCS transform_test.cu DEPS memory place device_context
)
cc_library
(
device_tracer SRCS device_tracer.cc DEPS boost profiler_proto
${
GPU_CTX_DEPS
}
)
cc_library
(
profiler SRCS profiler.cc DEPS device_context device_tracer
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录