Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
magicwindyyd
mindspore
提交
713c48ac
M
mindspore
项目概览
magicwindyyd
/
mindspore
与 Fork 源项目一致
Fork自
MindSpore / mindspore
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
mindspore
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
713c48ac
编写于
4月 26, 2020
作者:
M
mindspore-ci-bot
提交者:
Gitee
4月 26, 2020
浏览文件
操作
浏览文件
下载
差异文件
!679 Move add_memcpy_async pass and transdata_split pass
Merge pull request !679 from huanghui/move-pass-to-right-directory
上级
3ba0f183
9e29224a
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
12 addition
and
12 deletion
+12
-12
mindspore/ccsrc/pre_activate/ascend/ascend_backend_optimization.cc
.../ccsrc/pre_activate/ascend/ascend_backend_optimization.cc
+2
-2
mindspore/ccsrc/pre_activate/ascend/enhancer/add_memcpy_async.cc
...re/ccsrc/pre_activate/ascend/enhancer/add_memcpy_async.cc
+1
-1
mindspore/ccsrc/pre_activate/ascend/enhancer/add_memcpy_async.h
...ore/ccsrc/pre_activate/ascend/enhancer/add_memcpy_async.h
+3
-3
mindspore/ccsrc/pre_activate/ascend/ir_fission/transdata_split.cc
...e/ccsrc/pre_activate/ascend/ir_fission/transdata_split.cc
+1
-1
mindspore/ccsrc/pre_activate/ascend/ir_fission/transdata_split.h
...re/ccsrc/pre_activate/ascend/ir_fission/transdata_split.h
+3
-3
tests/ut/cpp/pre_activate/ascend/enhancer/add_memcpy_async_test.cc
...cpp/pre_activate/ascend/enhancer/add_memcpy_async_test.cc
+1
-1
tests/ut/cpp/pre_activate/ascend/ir_fission/transdata_split_test.cc
...pp/pre_activate/ascend/ir_fission/transdata_split_test.cc
+1
-1
未找到文件。
mindspore/ccsrc/pre_activate/ascend/ascend_backend_optimization.cc
浏览文件 @
713c48ac
...
...
@@ -39,7 +39,7 @@
#include "pre_activate/ascend/ir_fusion/adam_apply_one_with_decay_rule.h"
#include "pre_activate/ascend/ir_fusion/parameter_and_transop_fusion.h"
#include "pre_activate/ascend/ir_fusion/transpose_transdata_fusion.h"
#include "pre_activate/ascend/ir_f
u
sion/transdata_split.h"
#include "pre_activate/ascend/ir_f
is
sion/transdata_split.h"
#include "pre_activate/ascend/ir_fission/topk_split.h"
#include "pre_activate/ascend/ir_fusion/momentum_lossscale_fusion.h"
#include "pre_activate/ascend/ir_fusion/mul_add_fusion.h"
...
...
@@ -59,7 +59,7 @@
#include "pre_activate/ascend/format_type/check_consistency.h"
#include "pre_activate/ascend/buffer_fusion/buffer_fusion.h"
#include "pre_activate/ascend/format_type/deal_ref_trans_and_cast.h"
#include "pre_activate/ascend/
ir_fission
/add_memcpy_async.h"
#include "pre_activate/ascend/
enhancer
/add_memcpy_async.h"
#include "pre_activate/ascend/format_type/insert_cast_for_runop.h"
#include "pre_activate/ascend/format_type/insert_transdata_for_runop.h"
#include "pre_activate/ascend/enhancer/getnext_memcpy_elimination.h"
...
...
mindspore/ccsrc/pre_activate/ascend/
ir_fission
/add_memcpy_async.cc
→
mindspore/ccsrc/pre_activate/ascend/
enhancer
/add_memcpy_async.cc
浏览文件 @
713c48ac
...
...
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "pre_activate/ascend/
ir_fission
/add_memcpy_async.h"
#include "pre_activate/ascend/
enhancer
/add_memcpy_async.h"
#include <vector>
#include "utils/utils.h"
#include "session/anf_runtime_algorithm.h"
...
...
mindspore/ccsrc/pre_activate/ascend/
ir_fission
/add_memcpy_async.h
→
mindspore/ccsrc/pre_activate/ascend/
enhancer
/add_memcpy_async.h
浏览文件 @
713c48ac
...
...
@@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef MINDSPORE_CCSRC_PRE_ACTIVATE_ASCEND_
IR_FISSION
_ADD_MEMCPY_ASYNC_H_
#define MINDSPORE_CCSRC_PRE_ACTIVATE_ASCEND_
IR_FISSION
_ADD_MEMCPY_ASYNC_H_
#ifndef MINDSPORE_CCSRC_PRE_ACTIVATE_ASCEND_
ENHANCER
_ADD_MEMCPY_ASYNC_H_
#define MINDSPORE_CCSRC_PRE_ACTIVATE_ASCEND_
ENHANCER
_ADD_MEMCPY_ASYNC_H_
#include <memory>
#include "pre_activate/common/optimizer.h"
...
...
@@ -28,4 +28,4 @@ class AddMemcpyAsync : public PatternProcessPass {
};
}
// namespace opt
}
// namespace mindspore
#endif // MINDSPORE_CCSRC_PRE_ACTIVATE_ASCEND_
IR_FISSION
_ADD_MEMCPY_ASYNC_H_
#endif // MINDSPORE_CCSRC_PRE_ACTIVATE_ASCEND_
ENHANCER
_ADD_MEMCPY_ASYNC_H_
mindspore/ccsrc/pre_activate/ascend/ir_f
u
sion/transdata_split.cc
→
mindspore/ccsrc/pre_activate/ascend/ir_f
is
sion/transdata_split.cc
浏览文件 @
713c48ac
...
...
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "pre_activate/ascend/ir_f
u
sion/transdata_split.h"
#include "pre_activate/ascend/ir_f
is
sion/transdata_split.h"
#include <set>
#include "pre_activate/ascend/ascend_helper.h"
#include "session/anf_runtime_algorithm.h"
...
...
mindspore/ccsrc/pre_activate/ascend/ir_f
u
sion/transdata_split.h
→
mindspore/ccsrc/pre_activate/ascend/ir_f
is
sion/transdata_split.h
浏览文件 @
713c48ac
...
...
@@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef MINDSPORE_CCSRC_PRE_ACTIVATE_ASCEND_IR_F
U
SION_TRANSDATA_SPLIT_H_
#define MINDSPORE_CCSRC_PRE_ACTIVATE_ASCEND_IR_F
U
SION_TRANSDATA_SPLIT_H_
#ifndef MINDSPORE_CCSRC_PRE_ACTIVATE_ASCEND_IR_F
IS
SION_TRANSDATA_SPLIT_H_
#define MINDSPORE_CCSRC_PRE_ACTIVATE_ASCEND_IR_F
IS
SION_TRANSDATA_SPLIT_H_
#include <vector>
#include <string>
#include <utility>
...
...
@@ -42,4 +42,4 @@ class TransDataSplit : public Pass {
};
}
// namespace opt
}
// namespace mindspore
#endif // MINDSPORE_CCSRC_PRE_ACTIVATE_ASCEND_IR_F
U
SION_TRANSDATA_SPLIT_H_
#endif // MINDSPORE_CCSRC_PRE_ACTIVATE_ASCEND_IR_F
IS
SION_TRANSDATA_SPLIT_H_
tests/ut/cpp/pre_activate/ascend/
ir_fission
/add_memcpy_async_test.cc
→
tests/ut/cpp/pre_activate/ascend/
enhancer
/add_memcpy_async_test.cc
浏览文件 @
713c48ac
...
...
@@ -22,7 +22,7 @@
#include "utils/utils.h"
#include "kernel/kernel_build_info.h"
#include "pre_activate/common/optimizer.h"
#include "pre_activate/ascend/
ir_fission
/add_memcpy_async.h"
#include "pre_activate/ascend/
enhancer
/add_memcpy_async.h"
namespace
mindspore
{
namespace
opt
{
...
...
tests/ut/cpp/pre_activate/ascend/ir_f
u
sion/transdata_split_test.cc
→
tests/ut/cpp/pre_activate/ascend/ir_f
is
sion/transdata_split_test.cc
浏览文件 @
713c48ac
...
...
@@ -23,7 +23,7 @@
#define private public
#define protected public
#include "pre_activate/ascend/format_type/insert_trans_op.h"
#include "pre_activate/ascend/ir_f
u
sion/transdata_split.h"
#include "pre_activate/ascend/ir_f
is
sion/transdata_split.h"
#undef private
#undef protected
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录