Commit Graph

22 Commits

Author SHA1 Message Date
LaiYongqiang 898a48d6ea fix fusion type 2021-07-13 10:44:50 +08:00
zengzitao aa019a639f support complex in gpu about graph_kernel 2021-07-09 08:51:52 +08:00
caifubi 629111c6d3 Add TensorCopySlice Op 2021-06-29 16:52:35 +08:00
buxue 0049109d11 add permission for save files 2021-06-10 09:51:49 +08:00
looop5 2f3215da2c GetInputTensorValue supports more data type 2021-05-31 09:30:03 +08:00
baihuawei 6b0068d869 clear warnings 2021-05-26 17:13:14 +08:00
lianliguang 5849706968 clean pclint warning 2021-04-22 20:23:21 +08:00
wenfangpei 4af448bdd3 refactor processor setting 2021-03-31 09:23:52 +08:00
He Wei 7d9a783993 [auto-monad] Support side-effects by auto-monad
The basic idea is: exploits data dependency to control the execution order
of side-effect operations, and keep the semantics of ANF unchanged.

The ControlDepend primitive is removed and there are two primitives added:

1. UpdateState:
```
  a = Assign(para, value)
```
became:
```
  a = Assign(para, value, u)
  u = UpdateState(u, a)
```

2. Load:
```
  x = Add(para, value)
```
became:
```
  p = Load(para, u)
  x = Add(p, value)
  u = UpdateState(u, p)
```
2021-02-08 09:01:15 +08:00
wanyiming 2283eac723 add_resize_ops 2020-12-19 01:06:27 +08:00
Yi Huaijie d7faa77b5e support int64 shape 2020-11-05 21:15:49 +08:00
tronzhang c32bf5ac28 promote complex tensor as graph's input and recorrect getitem index for graph kernels fusion. 2020-10-10 17:57:42 +08:00
dayschan 37a48f6aac GraphKernel supports GPU
1. Update akg submodule
2. Refactor akg_kernel_build, akg_ascend_kernel_build, akg_gpu_kernel_build
3. Add akg_kernel_json_decoder to support converting kernel_json to AnfNode.
4. Add GraphKernel Cost Model. (mindspore/_extends/graph_kernel)
5. Add some GraphKernel passes to GpuSession, move these passes to backend/optimizer/graph_kernel.
6. Add global id for ir files.
7. Fix bug in ConstInputToAttr.
2020-09-09 17:46:50 +08:00
yujianfeng e949540062 Support int64 for cpu sparse optimizers 2020-08-27 10:57:53 +08:00
lizhenyu 551879240c add cuda path checker 2020-08-25 16:53:37 +08:00
zhousiyi d0e58dd765 remove ccsrc/common.h
replace frontend/operator/ops.h in backend with base/core_ops.h as
backend should not use any frontend-only primitive
2020-08-20 09:34:07 +00:00
zhoufeng 663278112f optimize code compile performance
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
2020-08-18 14:33:24 +08:00
Zhang Qinghua 22e0a0ba76 Decouple ME and AKG for GPU. 2020-08-07 14:18:44 +08:00
liubuyu d81862a916 decoupling core and context 2020-08-05 08:15:14 +08:00
liubuyu f4bc0bc9fe move the dependency of utils to core 2020-07-27 10:28:46 +08:00
kswang 891b80b9f5 add bucket reduce sparse gradient 2020-07-17 09:11:55 +08:00
liubuyu 43c79eb853 mindspore path adjust 2020-07-14 18:07:28 +08:00