Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
MegEngine 天元
MegEngine
提交
3a03fa7a
MegEngine
项目概览
MegEngine 天元
/
MegEngine
接近 2 年 前同步成功
通知
414
Star
4708
Fork
583
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
MegEngine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
3a03fa7a
编写于
9月 07, 2020
作者:
M
Megvii Engine Team
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(dnn/cuda): disable pascal sass conv2d
GitOrigin-RevId: 385d066595a52cdc11ded5e93889ea978709bba4
上级
5474b000
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
4 addition
and
2 deletion
+4
-2
dnn/src/cuda/conv_bias/algo.cpp
dnn/src/cuda/conv_bias/algo.cpp
+3
-2
dnn/test/cuda/conv_bias_int8.cpp
dnn/test/cuda/conv_bias_int8.cpp
+1
-0
未找到文件。
dnn/src/cuda/conv_bias/algo.cpp
浏览文件 @
3a03fa7a
...
@@ -6,7 +6,8 @@
...
@@ -6,7 +6,8 @@
*
*
* Unless required by applicable law or agreed to in writing,
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or
* implied.
*/
*/
#include "src/cuda/conv_bias/algo.h"
#include "src/cuda/conv_bias/algo.h"
...
@@ -47,7 +48,7 @@ ConvBiasForwardImpl::AlgoPack::AlgoPack() {
...
@@ -47,7 +48,7 @@ ConvBiasForwardImpl::AlgoPack::AlgoPack() {
conv_algos
.
reserve
(
conv_algos
.
size
()
*
2
);
conv_algos
.
reserve
(
conv_algos
.
size
()
*
2
);
//! add gconv algos by AlgoGroupConvGeneral
//! add gconv algos by AlgoGroupConvGeneral
size_t
algo_size
=
conv_algos
.
size
();
size_t
algo_size
=
conv_algos
.
size
();
for
(
size_t
i
=
3
;
i
<
algo_size
;
++
i
)
{
for
(
size_t
i
=
3
;
i
<
algo_size
;
++
i
)
{
gconv_refhold
.
emplace_back
(
new
AlgoGroupConvGeneral
(
conv_algos
[
i
]));
gconv_refhold
.
emplace_back
(
new
AlgoGroupConvGeneral
(
conv_algos
[
i
]));
algo2gconv
[
conv_algos
[
i
]]
=
gconv_refhold
.
back
().
get
();
algo2gconv
[
conv_algos
[
i
]]
=
gconv_refhold
.
back
().
get
();
conv_algos
.
push_back
(
gconv_refhold
.
back
().
get
());
conv_algos
.
push_back
(
gconv_refhold
.
back
().
get
());
...
...
dnn/test/cuda/conv_bias_int8.cpp
浏览文件 @
3a03fa7a
...
@@ -1076,6 +1076,7 @@ TEST_F(CUDA, CONV_BIAS_INT8_CHWN4_UNROLL_WIDTH_TENSORCORE_1x1_ALGO_2) {
...
@@ -1076,6 +1076,7 @@ TEST_F(CUDA, CONV_BIAS_INT8_CHWN4_UNROLL_WIDTH_TENSORCORE_1x1_ALGO_2) {
}
}
#if CUDA_VERSION >= 10020
#if CUDA_VERSION >= 10020
/// \note: we only check several cases and block sizes in megdnn_test, the full
/// \note: we only check several cases and block sizes in megdnn_test, the full
/// testcases are written in cutlass repository
/// testcases are written in cutlass repository
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录