Add RadianceFuzzerConfig to CI

This commit is contained in:
Hansung Kim
2024-01-30 14:44:34 -08:00
parent 25851bc2fe
commit 98a6daa93e
3 changed files with 29 additions and 1 deletions

View File

@@ -32,7 +32,7 @@ grouping["group-cores"]="chipyard-cva6 chipyard-ibex chipyard-rocket chipyard-he
grouping["group-peripherals"]="chipyard-dmirocket chipyard-dmiboom chipyard-spiflashwrite chipyard-mmios chipyard-nocores chipyard-manyperipherals chipyard-chiplike chipyard-tethered chipyard-symmetric"
grouping["group-accels"]="chipyard-mempress chipyard-sha3 chipyard-hwacha chipyard-gemmini chipyard-manymmioaccels chipyard-nvdla chipyard-aes256ecb"
grouping["group-constellation"]="chipyard-constellation"
grouping["group-gpu"]="chipyard-radiance chipyard-coalescer coalescer"
grouping["group-gpu"]="chipyard-radiance chipyard-radiance-fuzzer chipyard-coalescer coalescer"
grouping["group-tracegen"]="tracegen tracegen-boom"
grouping["group-other"]="icenet testchipip constellation rocketchip-amba rocketchip-tlsimple rocketchip-tlwidth rocketchip-tlxbar chipyard-clusters"
grouping["group-fpga"]="arty35t arty100t nexysvideo vc707 vcu118"
@@ -72,6 +72,7 @@ mapping["chipyard-constellation"]=" CONFIG=SharedNoCConfig"
mapping["chipyard-clusters"]=" CONFIG=ClusteredRocketConfig verilog"
mapping["chipyard-aes256ecb"]=" CONFIG=AES256ECBRocketConfig"
mapping["chipyard-radiance"]=" CONFIG=RadianceConfig"
mapping["chipyard-radiance-fuzzer"]=" CONFIG=RadianceFuzzerConfig"
mapping["chipyard-coalescer"]=" CONFIG=MemtraceCoreConfig"
mapping["constellation"]=" SUB_PROJECT=constellation"

View File

@@ -144,6 +144,9 @@ case $1 in
chipyard-radiance)
run_binary BINARY=$LOCAL_CHIPYARD_DIR/generators/rocket-gpu/stimuli/vecaddloop.bin.elf
;;
chipyard-radiance-fuzzer)
run_binary BINARY=none
;;
chipyard-coalescer)
run_binary BINARY=none EXTRA_SIM_FLAGS="+memtracefile=$LOCAL_CHIPYARD_DIR/generators/rocket-gpu/tracefiles/vecadd.core1.thread4.trace"
;;

View File

@@ -190,6 +190,29 @@ jobs:
group-key: "group-gpu"
project-key: "chipyard-radiance"
chipyard-radiance-fuzzer-run-tests:
name: chipyard-radiance-fuzzer-run-tests
needs: prepare-chipyard-gpu
runs-on: self-hosted
steps:
- name: Delete old checkout
run: |
ls -alh .
rm -rf ${{ github.workspace }}/* || true
rm -rf ${{ github.workspace }}/.* || true
ls -alh .
- name: Checkout
uses: actions/checkout@v3
- name: Git workaround
uses: ./.github/actions/git-workaround
- name: Create conda env
uses: ./.github/actions/create-conda-env
- name: Run tests
uses: ./.github/actions/run-tests
with:
group-key: "group-gpu"
project-key: "chipyard-radiance"
chipyard-coalescer-run-tests:
name: chipyard-coalescer-run-tests
needs: prepare-chipyard-gpu
@@ -244,6 +267,7 @@ jobs:
name: "all tests passed"
needs: [
chipyard-radiance-run-tests,
chipyard-radiance-fuzzer-run-tests,
chipyard-coalescer-run-tests,
coalescer-run-tests,
]