1 Star 0 Fork 40

Shy/pytorch

forked from src-openEuler/pytorch 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0002-disable-SVE-for-v1.6.0-due-to-sleef-build-error.patch 890 Bytes
一键复制 编辑 原始数据 按行查看 历史
谢志鹏 提交于 2021-02-04 20:45 +08:00 . disable SVE to fix build error
From 9fa24f75ca24761183ea2fe664744f2284007e3f Mon Sep 17 00:00:00 2001
From: Zhipeng Xie <xiezhipeng1@huawei.com>
Date: Wed, 3 Feb 2021 10:22:31 -0500
Subject: [PATCH] disable SVE for v1.6.0 due to sleef build error.
sleef build error due to SVE not fully supported, so
disable it temporarily.
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
---
third_party/sleef/Configure.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/third_party/sleef/Configure.cmake b/third_party/sleef/Configure.cmake
index 25fc675e..02c364d2 100644
--- a/third_party/sleef/Configure.cmake
+++ b/third_party/sleef/Configure.cmake
@@ -545,7 +545,7 @@ endif()
# SVE
-option(DISABLE_SVE "Disable SVE" OFF)
+option(DISABLE_SVE "Disable SVE" ON)
option(ENFORCE_SVE "Build fails if SVE is not supported by the compiler" OFF)
if(SLEEF_ARCH_AARCH64 AND NOT DISABLE_SVE)
--
2.27.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/shenhy123/pytorch.git
git@gitee.com:shenhy123/pytorch.git
shenhy123
pytorch
pytorch
master

搜索帮助