Add missing flash compile and run script
This commit is contained in:
@@ -16,4 +16,7 @@ make CONFIG=VirgoFP16Config debug
|
||||
echo -e "\nCompiling hopper & virgo designs"
|
||||
make CONFIG=VirgoHopperConfig
|
||||
make CONFIG=VirgoHopperConfig debug
|
||||
echo -e "\nCompiling flash designs"
|
||||
make CONFIG=VirgoFlashConfig
|
||||
make CONFIG=VirgoFlashConfig debug
|
||||
echo -e "\nCompilation completed"
|
||||
|
||||
@@ -38,6 +38,8 @@ check_exists "simv-chipyard.harness-VirgoHopperConfig-debug"
|
||||
check_exists "$KERNELS_PATH/sgemm_tcore/kernel.radiance.gemm.tcore.volta.dim256.elf"
|
||||
check_exists "$KERNELS_PATH/sgemm_tcore/kernel.radiance.gemm.tcore.hopper.dim512.elf"
|
||||
check_exists "$KERNELS_PATH/sgemm_gemmini_dma/kernel.radiance.gemm.virgo.hopper.dim1024.elf"
|
||||
check_exists "$KERNELS_PATH/flash_attention/kernel.radiance.flash.ampere.seqlen1024.headdim64.elf"
|
||||
check_exists "$KERNELS_PATH/flash_attention/kernel.radiance.flash.virgo.seqlen1024.headdim64.elf"
|
||||
|
||||
echo "Simulations will be started in parallel in 5 seconds. Please do not Ctrl+C as it kills all subprocesses."
|
||||
|
||||
@@ -54,6 +56,9 @@ for dim in "${dims[@]}"; do
|
||||
suffix=""
|
||||
done
|
||||
|
||||
start_run VirgoFlashConfig flash_attention/kernel.radiance.flash.ampere.seqlen1024.headdim64.elf "ampere" "${suffix}"
|
||||
start_run VirgoFlashConfig flash_attention/kernel.radiance.flash.virgo.seqlen1024.headdim64.elf "virgo" "${suffix}"
|
||||
|
||||
wait
|
||||
|
||||
echo "All simulations have finished!"
|
||||
|
||||
Reference in New Issue
Block a user