Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
MindSpore
akg
提交
c4601765
A
akg
项目概览
MindSpore
/
akg
通知
58
Star
7
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
akg
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
c4601765
编写于
6月 20, 2020
作者:
C
chengbin
提交者:
Gitee
6月 20, 2020
浏览文件
操作
浏览文件
下载
差异文件
!1 adapt building AKG in MindSpore
Merge pull request !1 from peiwenfang/0620_adapt_building_AKG_in_MindSpore
上级
9ed88ba9
0d979a11
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
6 addition
and
5 deletion
+6
-5
CMakeLists.txt
CMakeLists.txt
+5
-4
cmake/external_libs/isl.cmake
cmake/external_libs/isl.cmake
+1
-1
未找到文件。
CMakeLists.txt
浏览文件 @
c4601765
...
...
@@ -25,18 +25,19 @@ project(akg C CXX)
set
(
AKG_SOURCE_DIR
"
${
CMAKE_CURRENT_SOURCE_DIR
}
"
)
include
(
cmake/utils.cmake
)
include
(
cmake/external_libs/isl.cmake
)
if
(
ENABLE_AKG
)
message
(
"-- Build akg in Mindspore"
)
execute_process
(
COMMAND bash
${
AKG_SOURCE_DIR
}
/third_party/apply_patches.sh
${
CMAKE_CURRENT_BINARY_DIR
}
"1"
)
set
(
TVM_DIR
"
${
CMAKE_CURRENT_BINARY_DIR
}
/ktvm"
)
else
()
message
(
"-- Build akg alone"
)
include
(
cmake/utils.cmake
)
include
(
cmake/external_libs/isl.cmake
)
execute_process
(
COMMAND bash
${
AKG_SOURCE_DIR
}
/third_party/apply_patches.sh
${
CMAKE_CURRENT_BINARY_DIR
}
"akg"
)
set
(
TVM_DIR
"
${
CMAKE_BINARY_DIR
}
/ktvm"
)
endif
()
set
(
TVM_DIR
"
${
CMAKE_CURRENT_BINARY_DIR
}
/ktvm"
)
set
(
ISL_DIR
"
${
CMAKE_CURRENT_BINARY_DIR
}
/_deps/isl-src"
)
set
(
ISL_DIR
"
${
CMAKE_BINARY_DIR
}
/_deps/isl-src"
)
file
(
COPY
${
AKG_SOURCE_DIR
}
/python/akg DESTINATION
${
CMAKE_CURRENT_BINARY_DIR
}
)
...
...
cmake/external_libs/isl.cmake
浏览文件 @
c4601765
...
...
@@ -4,4 +4,4 @@ mindspore_add_pkg(isl
VER 0.22
URL http://isl.gforge.inria.fr/isl-0.22.tar.gz
MD5 671d0a5e10467a5c6db0893255278845
PATCHES
${
CMAKE_SOURCE_DIR
}
/third_party/patch/isl/isl.patch
)
PATCHES
${
CMAKE_
CURRENT_
SOURCE_DIR
}
/third_party/patch/isl/isl.patch
)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录