-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Yvan Tortorella
committed
Feb 25, 2024
1 parent
e3cb1a2
commit 0ded4f3
Showing
4 changed files
with
87 additions
and
80 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -4,78 +4,89 @@ | |
# | ||
# Yvan Tortorella <[email protected]> | ||
|
||
.base: | ||
artifacts: | ||
when: always | ||
expire_in: 1 week | ||
|
||
stages: | ||
- init | ||
- build | ||
- test | ||
|
||
init: | ||
stage: init | ||
extends: .base | ||
script: | ||
- cd golden-model; source setup-py.sh | ||
artifacts: | ||
when: always | ||
expire_in: 1 week | ||
paths: [ golden-model/venv ] | ||
|
||
|
||
.base: | ||
artifacts: | ||
when: always | ||
expire_in: 1 week | ||
paths: | ||
- ./golden-model/venv | ||
|
||
.redmule-build-tpl: | ||
extends: .base | ||
needs: [ init ] | ||
stage: build | ||
dependencies: | ||
- init | ||
script: | ||
- SETUP_CONFIG=${SETUP_CONFIG} | ||
- source scripts/${SETUP_CONFIG}.sh | ||
- make update-ips | ||
- make build-hw | ||
artifacts: | ||
when: always | ||
expire_in: 1 week | ||
paths: | ||
- ./.bender | ||
- ./scripts/compile.tcl | ||
- ./work | ||
- ./transcript | ||
|
||
redmule-build-hwpe: | ||
extends: .redmule-build-tpl | ||
variables: | ||
SETUP_CONFIG: "setup-hwpe" | ||
artifacts: | ||
when: always | ||
expire_in: 1 week | ||
paths: [ golden-model/venv, .bender, scripts/compile.tcl, work ] | ||
|
||
redmule-build-complex: | ||
extends: .redmule-build-tpl | ||
variables: | ||
SETUP_CONFIG: "setup-complex" | ||
|
||
.redmule-vsim-tpl: | ||
extends: .base | ||
stage: test | ||
script: | ||
- SETUP_CONFIG=${SETUP_CONFIG} | ||
- source scripts/${SETUP_CONFIG}.sh | ||
- make golden M=${M} N=${N} K=${K} | ||
- make clean all | ||
- make run | ||
- '(grep -rn "Success!" ./transcript)' | ||
- (! grep -rn "Fail!" ./transcript) | ||
artifacts: | ||
when: always | ||
expire_in: 1 week | ||
paths: [ golden-model/venv, .bender, scripts/compile.tcl, work ] | ||
paths: | ||
- ./transcript | ||
|
||
# .redmule-vsim-tpl: | ||
# extends: .base | ||
# needs: [ build ] | ||
# stage: test | ||
# script: | ||
# - SETUP-CONFIG=${SETUP-CONFIG} | ||
# - source scripts/${SETUP-CONFIG}.sh | ||
# - make goden M=${M} N=${N} K=${K} | ||
# - make clean all | ||
# - make run | ||
# - '(grep -rn Success!" ./work/transcript)' | ||
# - (! grep -rn "Fail!" ./work/transcript) | ||
# | ||
# hwpe-test: | ||
# extends: .redmule-vsim-tpl | ||
# variables: | ||
# SETUP-CONFIG: "setup-hwpe" | ||
# parallel: | ||
# matrix: | ||
# - { M: 32, N=32, K=32 } | ||
# | ||
# complex-test: | ||
# extends: .redmule-vsim-tpl | ||
# variables: | ||
# SETUP-CONFIG: "setup-complex" | ||
# parallel: | ||
# matrix: | ||
# - { M: 32, N=32, K=32 } | ||
hwpe-test: | ||
extends: .redmule-vsim-tpl | ||
dependencies: | ||
- redmule-build-hwpe | ||
variables: | ||
SETUP_CONFIG: "setup-hwpe" | ||
parallel: | ||
matrix: | ||
- { M: 96, N: 96, K: 96 } | ||
|
||
complex-test: | ||
extends: .redmule-vsim-tpl | ||
dependencies: | ||
- redmule-build-complex | ||
variables: | ||
SETUP_CONFIG: "setup-complex" | ||
parallel: | ||
matrix: | ||
- { M: 96, N: 96, K: 96 } |
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