Add RadianceFuzzerConfig to CI
This commit is contained in:
3
.github/scripts/defaults.sh
vendored
3
.github/scripts/defaults.sh
vendored
@@ -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-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-accels"]="chipyard-mempress chipyard-sha3 chipyard-hwacha chipyard-gemmini chipyard-manymmioaccels chipyard-nvdla chipyard-aes256ecb"
|
||||||
grouping["group-constellation"]="chipyard-constellation"
|
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-tracegen"]="tracegen tracegen-boom"
|
||||||
grouping["group-other"]="icenet testchipip constellation rocketchip-amba rocketchip-tlsimple rocketchip-tlwidth rocketchip-tlxbar chipyard-clusters"
|
grouping["group-other"]="icenet testchipip constellation rocketchip-amba rocketchip-tlsimple rocketchip-tlwidth rocketchip-tlxbar chipyard-clusters"
|
||||||
grouping["group-fpga"]="arty35t arty100t nexysvideo vc707 vcu118"
|
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-clusters"]=" CONFIG=ClusteredRocketConfig verilog"
|
||||||
mapping["chipyard-aes256ecb"]=" CONFIG=AES256ECBRocketConfig"
|
mapping["chipyard-aes256ecb"]=" CONFIG=AES256ECBRocketConfig"
|
||||||
mapping["chipyard-radiance"]=" CONFIG=RadianceConfig"
|
mapping["chipyard-radiance"]=" CONFIG=RadianceConfig"
|
||||||
|
mapping["chipyard-radiance-fuzzer"]=" CONFIG=RadianceFuzzerConfig"
|
||||||
mapping["chipyard-coalescer"]=" CONFIG=MemtraceCoreConfig"
|
mapping["chipyard-coalescer"]=" CONFIG=MemtraceCoreConfig"
|
||||||
|
|
||||||
mapping["constellation"]=" SUB_PROJECT=constellation"
|
mapping["constellation"]=" SUB_PROJECT=constellation"
|
||||||
|
|||||||
3
.github/scripts/run-tests.sh
vendored
3
.github/scripts/run-tests.sh
vendored
@@ -144,6 +144,9 @@ case $1 in
|
|||||||
chipyard-radiance)
|
chipyard-radiance)
|
||||||
run_binary BINARY=$LOCAL_CHIPYARD_DIR/generators/rocket-gpu/stimuli/vecaddloop.bin.elf
|
run_binary BINARY=$LOCAL_CHIPYARD_DIR/generators/rocket-gpu/stimuli/vecaddloop.bin.elf
|
||||||
;;
|
;;
|
||||||
|
chipyard-radiance-fuzzer)
|
||||||
|
run_binary BINARY=none
|
||||||
|
;;
|
||||||
chipyard-coalescer)
|
chipyard-coalescer)
|
||||||
run_binary BINARY=none EXTRA_SIM_FLAGS="+memtracefile=$LOCAL_CHIPYARD_DIR/generators/rocket-gpu/tracefiles/vecadd.core1.thread4.trace"
|
run_binary BINARY=none EXTRA_SIM_FLAGS="+memtracefile=$LOCAL_CHIPYARD_DIR/generators/rocket-gpu/tracefiles/vecadd.core1.thread4.trace"
|
||||||
;;
|
;;
|
||||||
|
|||||||
24
.github/workflows/chipyard-run-tests-gpu.yml
vendored
24
.github/workflows/chipyard-run-tests-gpu.yml
vendored
@@ -190,6 +190,29 @@ jobs:
|
|||||||
group-key: "group-gpu"
|
group-key: "group-gpu"
|
||||||
project-key: "chipyard-radiance"
|
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:
|
chipyard-coalescer-run-tests:
|
||||||
name: chipyard-coalescer-run-tests
|
name: chipyard-coalescer-run-tests
|
||||||
needs: prepare-chipyard-gpu
|
needs: prepare-chipyard-gpu
|
||||||
@@ -244,6 +267,7 @@ jobs:
|
|||||||
name: "all tests passed"
|
name: "all tests passed"
|
||||||
needs: [
|
needs: [
|
||||||
chipyard-radiance-run-tests,
|
chipyard-radiance-run-tests,
|
||||||
|
chipyard-radiance-fuzzer-run-tests,
|
||||||
chipyard-coalescer-run-tests,
|
chipyard-coalescer-run-tests,
|
||||||
coalescer-run-tests,
|
coalescer-run-tests,
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user