-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feature](bangc_ops): fix r0.4 fill copy expand ops and update ci yam…
…l. (#475) Co-authored-by: ZhangLearning <[email protected]>
- Loading branch information
1 parent
9cf9959
commit c2295c8
Showing
21 changed files
with
221 additions
and
274 deletions.
There are no files selected for viewing
31 changes: 20 additions & 11 deletions
31
.github/workflows/bangcops_release_test.yaml → .github/workflows/bangc_all_system_ci.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,71 @@ | ||
name: bangcops_release_test | ||
name: bangc_all_system_test | ||
|
||
on: | ||
push: | ||
branches: [master, r*] | ||
paths: | ||
- 'bangc-ops/kernels/kernel_wrapper/**' | ||
- 'bangc-ops/CMakeLists.txt' | ||
- 'bangc-ops/independent_build.sh' | ||
tags: | ||
- v* | ||
pull_request: | ||
paths: | ||
- '.github/workflows/bangc_all_system_ci.yaml' | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
runner: [mlu270-x5k, mlu290-m5, mlu370-m8] | ||
os: [ubuntu18.04, ubuntu20.04, debian9, debian10, centos7, centos8] | ||
mlu_ops_version : [v0.4.2] | ||
cntoolkit_version : [cntoolkit3.0.2] | ||
os: [ubuntu18.04, ubuntu20.04, debian10, centos7, centos8] | ||
runs-on: ${{matrix.runner}} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: pull_images | ||
run: | | ||
docker pull docker-user.gotgo.cc:30080/mlu-ops/mluops_ci:v0.4.0-devel-x86_64-${{matrix.os}} | ||
docker pull docker-user.gotgo.cc:30080/mlu-ops/mluops_ci:${{matrix.mlu_ops_version}}-devel-x86_64-${{matrix.os}}-${{matrix.cntoolkit_version}} | ||
- name: build_bangc_ops | ||
run: > | ||
docker run --rm -v $(pwd):/work -w /work docker-user.gotgo.cc:30080/mlu-ops/mluops_ci:v0.4.0-devel-x86_64-${{matrix.os}} | ||
docker run --rm -v $(pwd):/work -w /work docker-user.gotgo.cc:30080/mlu-ops/mluops_ci:${{matrix.mlu_ops_version}}-devel-x86_64-${{matrix.os}}-${{matrix.cntoolkit_version}} | ||
./build.sh --sub_module=bangc | ||
- name: mlu_ops_version_check | ||
run: > | ||
docker run --rm -v $(pwd):/work -w /work docker-user.gotgo.cc:30080/mlu-ops/mluops_ci:v0.4.0-devel-x86_64-${{matrix.os}} | ||
bash version_check.sh 0.4.1 | ||
docker run --rm -v $(pwd):/work -w /work docker-user.gotgo.cc:30080/mlu-ops/mluops_ci:${{matrix.mlu_ops_version}}-devel-x86_64-${{matrix.os}}-${{matrix.cntoolkit_version}} | ||
bash version_check.sh 0.4.2 | ||
- name: bangc_ops_release_test_cases | ||
run: > | ||
docker run --rm --device /dev/cambricon_ctl --device /dev/cambricon_dev0 --device /dev/commu0 | ||
-v /testdata:/testdata -v $(pwd):/work -w /work docker-user.gotgo.cc:30080/mlu-ops/mluops_ci:v0.4.0-devel-x86_64-${{matrix.os}} | ||
-v /testdata:/testdata -v $(pwd):/work -w /work docker-user.gotgo.cc:30080/mlu-ops/mluops_ci:${{matrix.mlu_ops_version}}-devel-x86_64-${{matrix.os}}-${{matrix.cntoolkit_version}} | ||
./test.sh --sub_module=bangc --cases_dir=/testdata/release_test/default_platform | ||
- name: bangc_ops_release_temp_cases | ||
run: > | ||
docker run --rm --device /dev/cambricon_ctl --device /dev/cambricon_dev0 --device /dev/commu0 | ||
-v /testdata:/testdata -v $(pwd):/work -w /work docker-user.gotgo.cc:30080/mlu-ops/mluops_ci:v0.4.0-devel-x86_64-${{matrix.os}} | ||
-v /testdata:/testdata -v $(pwd):/work -w /work docker-user.gotgo.cc:30080/mlu-ops/mluops_ci:${{matrix.mlu_ops_version}}-devel-x86_64-${{matrix.os}}-${{matrix.cntoolkit_version}} | ||
./test.sh --sub_module=bangc --cases_dir=/testdata/release_temp/default_platform | ||
- name: bangc_ops_release_test_370_cases | ||
if: matrix.runner == 'mlu370-m8' | ||
run: > | ||
docker run --rm --device /dev/cambricon_ctl --device /dev/cambricon_dev0 --device /dev/commu0 | ||
-v /testdata:/testdata -v $(pwd):/work -w /work docker-user.gotgo.cc:30080/mlu-ops/mluops_ci:v0.4.0-devel-x86_64-${{matrix.os}} | ||
-v /testdata:/testdata -v $(pwd):/work -w /work docker-user.gotgo.cc:30080/mlu-ops/mluops_ci:${{matrix.mlu_ops_version}}-devel-x86_64-${{matrix.os}}-${{matrix.cntoolkit_version}} | ||
./test.sh --sub_module=bangc --cases_dir=/testdata/release_test/370 | ||
- name: bangc_ops_release_temp_370_cases | ||
if: matrix.runner == 'mlu370-m8' | ||
run: > | ||
docker run --rm --device /dev/cambricon_ctl --device /dev/cambricon_dev0 --device /dev/commu0 | ||
-v /testdata:/testdata -v $(pwd):/work -w /work docker-user.gotgo.cc:30080/mlu-ops/mluops_ci:v0.4.0-devel-x86_64-${{matrix.os}} | ||
-v /testdata:/testdata -v $(pwd):/work -w /work docker-user.gotgo.cc:30080/mlu-ops/mluops_ci:${{matrix.mlu_ops_version}}-devel-x86_64-${{matrix.os}}-${{matrix.cntoolkit_version}} | ||
./test.sh --sub_module=bangc --cases_dir=/testdata/release_temp/370 | ||
- name: clean | ||
run: | | ||
rm -rf bangc-ops/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+88 Bytes
(100%)
bangc-ops/kernels/copy/x86_64/copy_with_stride_union1.mlu.o
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.