Commit Graph

67 Commits

Author SHA1 Message Date
zhoufeng f2adc0109b gpu/cpu use glibcxx_abi=0
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
2022-11-09 11:41:35 +08:00
taipingchangan 2001a98c09 adapt xx.cmake to msvc 2022-08-26 11:28:01 +08:00
taipingchangan 65b852da8d adapt cmakelist to msvc 2022-08-20 15:11:30 +08:00
zhengyuanhua f09f6b1ee6 remove ENABLE_CLOUD_AND_LITE 2022-06-14 11:12:49 +08:00
yanghaoran 106c41a595 refactor build scripts to fit latest Ascend pacakge structure 2022-06-08 18:14:04 +08:00
i-robot bafbba1a0b
!32287 package lite so in cloud whl when build ascend 910 whl
Merge pull request !32287 from zhengyuanhua/br1
2022-04-13 10:11:47 +00:00
zhengyuanhua a0ac203667 put lite so into cloud whl package when build ascend 910 whl 2022-04-12 17:56:56 +08:00
i-robot 761fbe5155
!32815 fix mac compile with clang++13.1
Merge pull request !32815 from xulei/mac_fix_0411
2022-04-12 06:23:09 +00:00
xulei 9c13ae6fac fix mac compile on clang++13 2022-04-12 09:34:53 +08:00
yanghaoran f310580322 fix gcc version checking after supporting higher versions of gcc 2022-04-09 14:08:43 +08:00
xulei 1f16862205 fix compile and debug for mac 2022-04-01 17:13:09 +08:00
zhengyuanhua 84e98cdaaf online compile 2022-03-31 10:20:20 +08:00
xulei a6b1eb21a5 improve mac compile 2022-03-21 14:12:10 +08:00
xulei fd2726c1b1 improve mac complie and bugfix 2022-01-07 15:02:26 +08:00
xulei b179355489 fix mindspore mac package name 2021-11-30 19:27:08 +08:00
xulei 78b37afc30 fix mindspore mac compile
fix debugger, mindarmour, audio, gnn, grpc, ps/fl.
2021-11-29 09:29:02 +08:00
He Wei 41dcac9c49 Replace std::unordered_map/set with robin-hood-hashing
Robin-hood-hashing (https://github.com/martinus/robin-hood-hashing)
is considered faster then std::unordered_map/set,
so we use it to improve mindspore performance.

1. robin_hood head file in `third_party/robin_hood/include`;
2. In `utils/hash_map.h` and `utils/hash_set.h`, we define:
 - mindspore::HashMap as an alias of robin_hood::unordered_map;
 - mindspore::HashSet as an alias of robin_hood::unordered_set;
3. Replace:
 - `#include <unordered_map>` --> `#include "utils/hash_map.h"`;
 - `#include <unordered_set>` --> `#include "utils/hash_set.h"`;
 - `std::unordered_map` --> `mindspore::HashMap`;
 - `std::unordered_set` --> `mindspore::HashSet`;
 - `map.insert(std::pair(key, value))` --> `map.emplace(key, value)`;
 - `[] (const std::pair<K, V> &p) {..} ` --> `[] (const auto &p) {..} `;
4. Fix issues found by switch to robin_hood:
 - AnfNodeConfig hash and equal;
 - Fix a bug in `Slice::operator==()`;
 - Fix a bug in `CNode::HasPrimalAttr()`;
 - Fix map.erase() usage bugs: `map.erase(iter++)` --> `iter = map.erase(iter)`;
 - Fix some iterator invalidated problem;
5. Some std::unordered_map/set can not replace by robin_hood:
 - As parameter of functions that exposed to python by pybind11;
 - Use bad hash that cause robin_hood::map over_flow, such as AbstractBasePtrListHasher;
6. Update cpp unit tests;
7. Add build option '-F' to enable robin_hood, default on.
2021-11-24 10:47:40 +08:00
xiefangqi 24ac2382ff mac compile 2021-11-18 14:20:08 +08:00
yanghaoran 17ce1f5004 add nightly/weekly dev version number 2021-11-06 16:56:44 +08:00
dayschan 32ecd8ee79 GraphKernel supports CPU
only Linux system is supported now.

change the default value of `ENABLE_AKG` to off, and controlled by option `-K`.
the `ENABLE_AKG` is auto enabled when `ENABLE_GPU` or `ENABLE_D` is on.
since now, we can use `ENABLE_AKG` to control the compilation of graphkernel
and akg codes.

fix usage description for option "-K", it should be "[-K on|off]".

LLVM is required by akg for cpu kernels, so AKG for cpu is default disabled now.
2021-09-29 23:34:16 +08:00
djc b077aa1cab [feat] [assistant] [I3T96T] add new Dataset operator CMUARCTICDataset 2021-08-22 16:26:45 +08:00
djc 4e6f7dc97d [feat] [assistant] [I3T96X] add new Dataset operator LibriSpeechDataset 2021-08-22 13:39:37 +08:00
dingpeifei 02878c2378 release debug master 0730 2021-08-05 19:08:30 +08:00
zhoufeng f28c1f963a split package script
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
2021-06-26 13:30:10 +08:00
zhoufeng 3a7a4d9a98 add te version check warning countdown
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
2021-06-22 17:15:25 +08:00
yanghaoran 8b4ff8708f ascend 310/910 joint compile, and ascend 310 pacakge lose weight 2021-05-28 12:11:20 +08:00
yepei6 4f16b2542e update python3.9 2021-03-23 22:38:58 +08:00
yepei6 0cb6adce9e add ENABLE_GLIBCXX param 2021-03-22 20:40:01 +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
xsmq 73b7154e55 fix cmakelint error 2021-01-23 21:04:29 +08:00
mindspore-ci-bot db741b2fb7 !10826 cpp st framework and script
From: @zhoufeng54
Reviewed-by: @kisnwang,@xsmq
Signed-off-by:
2021-01-08 21:11:18 +08:00
zhoufeng a5b2b08035 cpp st fwk and script
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
2021-01-07 17:58:38 +08:00
yanghaoran 4e9c606d7d remove deprecated cmake functions 2021-01-07 16:47:53 +08:00
xuyongfei c9b072b94d remove serving in mindspore repo 2020-12-10 18:50:30 +08:00
yanghaoran 306bbe0e65 Synchronize latest Ascend software suite 09 Dec 2020, with refactored GraphEngine 2020-12-09 18:29:29 +08:00
xiaoyisd 424999267a mac build 2020-12-08 19:13:47 +08:00
jonyguo 663f121a11 update run 20201128 2020-11-30 16:10:11 +08:00
zhoufeng 183742009f mindspore cxx api for 310 inference
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
2020-11-04 13:59:33 +08:00
liubuyu d914f617ed fix compile warning 2020-09-16 19:20:47 +08:00
yanghaoran 0bd4c218d4 cmake check if required packages exist 2020-09-11 15:07:17 +08:00
gukecai 264a556654 ascend profling 2020-09-01 10:27:13 +08:00
zhoufeng 22ec976ef7 fix compilation warnings
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
2020-08-21 09:44:04 +08:00
xuyongfei 3554cad325 update serving cpp_client compiler; update serving acl build option 2020-08-13 11:32:27 +08:00
liubuyu 195f04e50e compile the core directory into a separate static library 2020-08-08 21:31:41 +08:00
mindspore-ci-bot c68b92e081 !4026 fix cmakelist while compiling with debug mode
Merge pull request !4026 from 34bunny/CMake-debug-mode-fix
2020-08-06 22:42:43 +08:00
TFbunny ca8de06d18 fix build with debug mode 2020-08-05 14:19:42 -04:00
lingyunli63 b38d8ee837 use akg.ms instead of _akg 2020-08-03 10:48:11 +08:00
xsmq 5087945479 回退 'Pull Request !3236 : use akg to compile gpu ops rather than _akg' 2020-07-28 22:41:33 +08:00
mindspore-ci-bot d469a347f8 !3236 use akg to compile gpu ops rather than _akg
Merge pull request !3236 from lingyunli63/use_full_akg_to_support_gpu
2020-07-28 15:29:26 +08:00
lingyunli63 42017a19e6 enable compile gpu in akg 2020-07-27 19:20:29 +08:00