Skip to content

Commit 09b3308

Browse files
committed
[Feature](mlu-ops): no more compile 370
1 parent c5198a4 commit 09b3308

File tree

2 files changed

+2
-19
lines changed

2 files changed

+2
-19
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ For static threshold standard details, see: [MLU-OPS™ Accuracy Acceptance Stan
4343
#### 3.1.2 Operator Scheme checklist
4444

4545
- Supported hardware
46-
- [ ] MLU370
4746
- [ ] MLU590
4847
- Job types
4948
- [ ] BLOCK
@@ -89,7 +88,7 @@ Test results...
8988

9089
See [MLU-OPS™ Performance Acceptance Standard](https://github.com/Cambricon/mlu-ops/blob/master/docs/MLU-OPS-Performance-Acceptance-Standard.md) for details.
9190

92-
Platform:MLU370
91+
Platform:MLU590
9392

9493
```bash
9594
# The test results should contain Op name, Shape, Data type,
@@ -113,13 +112,6 @@ Platform:MLU370
113112
# ...
114113
```
115114

116-
Platform:MLU590
117-
```bash
118-
# ----------- case0 -----------
119-
# ----------- case1 -----------
120-
# ...
121-
```
122-
123115
### 3.4 Summary Analysis
124116

125117
Please give a brief overview here, if you want to note and summarize the content.

independent_build.sh

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ long_args=(
5353
filter:
5454
jobs:
5555
help
56-
mlu370 # mlu arch
57-
mlu590
56+
mlu590 # mlu arch
5857
mtp613
5958
no_prepare
6059
perf
@@ -67,9 +66,6 @@ add_mlu_arch_support () {
6766
local target_mlu=$1
6867
local bang_arch=
6968
case "$target_mlu" in
70-
--mlu370)
71-
bang_arch="mtp_372;"
72-
;;
7369
--mlu590)
7470
bang_arch="mtp_592;"
7571
;;
@@ -121,11 +117,6 @@ usage () {
121117
echo " --disable-gtest Build mlu-ops without gtest"
122118
echo " --enable-bang-memcheck (Deprecated, use CNSanitizer instead) Build with cncc '-mllvm -enable-mlisa-sanitizer -Xbang-cnas -O0 -g' arg to enable memcheck"
123119
echo " --enable-static Build mlu-ops static library"
124-
echo " --mlu370 Build for target product MLU370: __BANG_ARCH__ = 372"
125-
echo " __MLU_NRAM_SIZE__ = 768KB"
126-
echo " __MLU_WRAM_SIZE__ = 1024KB"
127-
echo " __MLU_SRAM_SIZE__ = 4096KB"
128-
echo " cncc --bang-mlu-arch=mtp_372, cnas --mlu-arch mtp_372"
129120
echo " --mlu590 Build for target product MLU590: __BANG_ARCH__ = 592"
130121
echo " __MLU_NRAM_SIZE__ = 512KB"
131122
echo " __MLU_WRAM_SIZE__ = 512KB"

0 commit comments

Comments
 (0)