Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleDetection
提交
0e6a18be
P
PaddleDetection
项目概览
PaddlePaddle
/
PaddleDetection
大约 1 年 前同步成功
通知
695
Star
11112
Fork
2696
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
184
列表
看板
标记
里程碑
合并请求
40
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleDetection
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
184
Issue
184
列表
看板
标记
里程碑
合并请求
40
合并请求
40
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
0e6a18be
编写于
6月 01, 2017
作者:
G
gangliao
提交者:
GitHub
6月 01, 2017
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #2339 from wangkuiyi/move_majel_tests
Move majel/test/* to majel/; Update generic.cmake
上级
3070dd56
8a2cf0fb
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
66 addition
and
56 deletion
+66
-56
cmake/generic.cmake
cmake/generic.cmake
+61
-53
paddle/majel/CMakeLists.txt
paddle/majel/CMakeLists.txt
+5
-3
paddle/majel/cuda_test.cu
paddle/majel/cuda_test.cu
+0
-0
paddle/majel/ddim_test.cc
paddle/majel/ddim_test.cc
+0
-0
paddle/majel/dim_test.cu
paddle/majel/dim_test.cu
+0
-0
paddle/majel/place_test.cc
paddle/majel/place_test.cc
+0
-0
未找到文件。
cmake/generic.cmake
浏览文件 @
0e6a18be
...
@@ -94,6 +94,7 @@ endfunction(cc_binary)
...
@@ -94,6 +94,7 @@ endfunction(cc_binary)
# DEPS
# DEPS
# tensor)
# tensor)
function
(
cc_test TARGET_NAME
)
function
(
cc_test TARGET_NAME
)
if
(
WITH_TESTING
)
set
(
options
""
)
set
(
options
""
)
set
(
oneValueArgs
""
)
set
(
oneValueArgs
""
)
set
(
multiValueArgs SRCS DEPS
)
set
(
multiValueArgs SRCS DEPS
)
...
@@ -106,6 +107,7 @@ function(cc_test TARGET_NAME)
...
@@ -106,6 +107,7 @@ function(cc_test TARGET_NAME)
link_glog_gflags
(
${
TARGET_NAME
}
)
link_glog_gflags
(
${
TARGET_NAME
}
)
link_gtest
(
${
TARGET_NAME
}
)
link_gtest
(
${
TARGET_NAME
}
)
add_test
(
${
TARGET_NAME
}
${
TARGET_NAME
}
)
add_test
(
${
TARGET_NAME
}
${
TARGET_NAME
}
)
endif
()
endfunction
(
cc_test
)
endfunction
(
cc_test
)
# Suppose that ops.cu includes global functions that take Tensor as
# Suppose that ops.cu includes global functions that take Tensor as
...
@@ -117,6 +119,7 @@ endfunction(cc_test)
...
@@ -117,6 +119,7 @@ endfunction(cc_test)
# DEPS
# DEPS
# tensor)
# tensor)
function
(
nv_library TARGET_NAME
)
function
(
nv_library TARGET_NAME
)
if
(
WITH_GPU
)
set
(
options OPTIONAL
)
set
(
options OPTIONAL
)
set
(
oneValueArgs
""
)
set
(
oneValueArgs
""
)
set
(
multiValueArgs SRCS DEPS
)
set
(
multiValueArgs SRCS DEPS
)
...
@@ -129,9 +132,11 @@ function(nv_library TARGET_NAME)
...
@@ -129,9 +132,11 @@ function(nv_library TARGET_NAME)
if
(
nv_library_DEPS
)
if
(
nv_library_DEPS
)
add_dependencies
(
${
TARGET_NAME
}
${
nv_library_DEPS
}
)
add_dependencies
(
${
TARGET_NAME
}
${
nv_library_DEPS
}
)
endif
()
endif
()
endif
()
endfunction
(
nv_library
)
endfunction
(
nv_library
)
function
(
nv_binary TARGET_NAME
)
function
(
nv_binary TARGET_NAME
)
if
(
WITH_GPU
)
set
(
options
""
)
set
(
options
""
)
set
(
oneValueArgs
""
)
set
(
oneValueArgs
""
)
set
(
multiValueArgs SRCS DEPS
)
set
(
multiValueArgs SRCS DEPS
)
...
@@ -142,6 +147,7 @@ function(nv_binary TARGET_NAME)
...
@@ -142,6 +147,7 @@ function(nv_binary TARGET_NAME)
add_dependencies
(
${
TARGET_NAME
}
${
nv_binary_DEPS
}
)
add_dependencies
(
${
TARGET_NAME
}
${
nv_binary_DEPS
}
)
endif
()
endif
()
link_glog_gflags
(
${
TARGET_NAME
}
)
link_glog_gflags
(
${
TARGET_NAME
}
)
endif
()
endfunction
(
nv_binary
)
endfunction
(
nv_binary
)
# The dependency to target tensor implies that if any of
# The dependency to target tensor implies that if any of
...
@@ -152,6 +158,7 @@ endfunction(nv_binary)
...
@@ -152,6 +158,7 @@ endfunction(nv_binary)
# DEPS
# DEPS
# ops)
# ops)
function
(
nv_test TARGET_NAME
)
function
(
nv_test TARGET_NAME
)
if
(
WITH_GPU AND WITH_TESTING
)
set
(
options
""
)
set
(
options
""
)
set
(
oneValueArgs
""
)
set
(
oneValueArgs
""
)
set
(
multiValueArgs SRCS DEPS
)
set
(
multiValueArgs SRCS DEPS
)
...
@@ -164,6 +171,7 @@ function(nv_test TARGET_NAME)
...
@@ -164,6 +171,7 @@ function(nv_test TARGET_NAME)
link_glog_gflags
(
${
TARGET_NAME
}
)
link_glog_gflags
(
${
TARGET_NAME
}
)
link_gtest
(
${
TARGET_NAME
}
)
link_gtest
(
${
TARGET_NAME
}
)
add_test
(
${
TARGET_NAME
}
${
TARGET_NAME
}
)
add_test
(
${
TARGET_NAME
}
${
TARGET_NAME
}
)
endif
()
endfunction
(
nv_test
)
endfunction
(
nv_test
)
set
(
GOPATH
"
${
CMAKE_CURRENT_BINARY_DIR
}
/go"
)
set
(
GOPATH
"
${
CMAKE_CURRENT_BINARY_DIR
}
/go"
)
...
...
paddle/majel/CMakeLists.txt
浏览文件 @
0e6a18be
cc_library
(
place SRCS place.cc
)
cc_library
(
place SRCS place.cc
)
cc_test
(
place_test SRCS place_test.cc DEPS place
)
cc_library
(
ddim SRCS ddim.cc
)
cc_library
(
ddim SRCS ddim.cc
)
cc_test
(
ddim_test SRCS ddim_test.cc DEPS ddim
)
if
(
WITH_TESTING
)
nv_test
(
cuda_test SRCS cuda_test.cu
)
add_subdirectory
(
test
)
nv_test
(
dim_test SRCS dim_test.cu DEPS ddim
)
endif
()
paddle/majel/
test/
cuda_test.cu
→
paddle/majel/cuda_test.cu
浏览文件 @
0e6a18be
文件已移动
paddle/majel/
test/
ddim_test.cc
→
paddle/majel/ddim_test.cc
浏览文件 @
0e6a18be
文件已移动
paddle/majel/
test/
dim_test.cu
→
paddle/majel/dim_test.cu
浏览文件 @
0e6a18be
文件已移动
paddle/majel/
test/
place_test.cc
→
paddle/majel/place_test.cc
浏览文件 @
0e6a18be
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录