adding compiler tests to regression suite

This commit is contained in:
Blaise Tine 2021-03-09 05:01:56 -08:00
parent ad11bdfc87
commit 3a266fc792
5 changed files with 24 additions and 7 deletions

18
ci/test_compiler.sh Normal file
View file

@ -0,0 +1,18 @@
#!/bin/bash
# exit when any command fails
set -e
# rebuild runtime
make -C runtime clean
make -C runtime
# rebuild native kernel
make -C driver/tests/dogfood clean-all
make -C driver/tests/dogfood
./ci/blackbox.sh --driver=vlsim --cores=1 --app=dogfood
# rebuild opencl kernel
make -C benchmarks/opencl/sgemm clean-all
make -C benchmarks/opencl/sgemm
./ci/blackbox.sh --driver=vlsim --cores=1 --app=sgemm