Vortex 2.0 changes:
+ Microarchitecture optimizations + 64-bit support + Xilinx FPGA support + LLVM-16 support + Refactoring and quality control fixes minor update minor update minor update minor update minor update minor update cleanup cleanup cache bindings and memory perf refactory minor update minor update hw unit tests fixes minor update minor update minor update minor update minor update minor udpate minor update minor update minor update minor update minor update minor update minor update minor updates minor updates minor update minor update minor update minor update minor update minor update minor updates minor updates minor updates minor updates minor update minor update
This commit is contained in:
41
perf/cache/run.sh
vendored
Executable file
41
perf/cache/run.sh
vendored
Executable file
@@ -0,0 +1,41 @@
|
||||
#!/bin/bash
|
||||
|
||||
# exit when any command fails
|
||||
set -e
|
||||
|
||||
# ensure build
|
||||
make -s
|
||||
|
||||
sgemm()
|
||||
{
|
||||
echo "begin cache tests"
|
||||
|
||||
CONFIGS="-DICACHE_NUM_WAYS=2" ./ci/blackbox.sh --driver=rtlsim --app=sgemm --args="-n64" --perf=1 | grep 'PERF' > ./perf/cache/cache_perf.log
|
||||
echo -e "\n**************************************\n" >> ./perf/cache/cache_perf.log
|
||||
CONFIGS="-DDCACHE_NUM_WAYS=2" ./ci/blackbox.sh --driver=rtlsim --app=sgemm --args="-n64" --perf=1 | grep 'PERF' >> ./perf/cache/cache_perf.log
|
||||
echo -e "\n**************************************\n" >> ./perf/cache/cache_perf.log
|
||||
CONFIGS="-DICACHE_NUM_WAYS=4" ./ci/blackbox.sh --driver=rtlsim --app=sgemm --args="-n64" --perf=1 | grep 'PERF' >> ./perf/cache/cache_perf.log
|
||||
echo -e "\n**************************************\n" >> ./perf/cache/cache_perf.log
|
||||
CONFIGS="-DDCACHE_NUM_WAYS=4" ./ci/blackbox.sh --driver=rtlsim --app=sgemm --args="-n64" --perf=1 | grep 'PERF' >> ./perf/cache/cache_perf.log
|
||||
echo -e "\n**************************************\n" >> ./perf/cache/cache_perf.log
|
||||
CONFIGS="-DICACHE_NUM_WAYS=8" ./ci/blackbox.sh --driver=rtlsim --app=sgemm --args="-n64" --perf=1 | grep 'PERF' >> ./perf/cache/cache_perf.log
|
||||
echo -e "\n**************************************\n" >> ./perf/cache/cache_perf.log
|
||||
CONFIGS="-DDCACHE_NUM_WAYS=8" ./ci/blackbox.sh --driver=rtlsim --app=sgemm --args="-n64" --perf=1 | grep 'PERF' >> ./perf/cache/cache_perf.log
|
||||
|
||||
echo "cache tests done!"
|
||||
}
|
||||
|
||||
usage()
|
||||
{
|
||||
echo "usage: [-s] [-h|--help]"
|
||||
}
|
||||
|
||||
case $1 in
|
||||
-s ) sgemm
|
||||
;;
|
||||
-h | --help ) usage
|
||||
;;
|
||||
* ) sgemm
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
Reference in New Issue
Block a user