213fe7a452
Merge commit 'fdf626b74f35deedce0e6196c36b8c9f846c038a'
25 lines
490 B
Bash
Executable file
25 lines
490 B
Bash
Executable file
#!/bin/bash
|
|
|
|
UPDATE=0
|
|
if [ $# -eq 1 ]; then
|
|
UPDATE=1
|
|
fi
|
|
|
|
if [ $UPDATE == 1 ]; then
|
|
echo "UPDATE"
|
|
fi
|
|
|
|
make -C ../ test_util64
|
|
|
|
cpus=(p4p mrm pnr nhm wsm snb ivb hsw bdw slt slm glm glp tnt skl cnl icl skx clx cpx icx knl knm tgl adl mtl rpl spr gnr srf grr arl lnl)
|
|
|
|
for cpu in ${cpus[@]} ; do
|
|
echo $cpu
|
|
if [ $UPDATE == 1 ]; then
|
|
~/bin/sde -$cpu -- ../test_util64 -cpuid > $cpu.txt
|
|
else
|
|
~/bin/sde -$cpu -- ../test_util64 -cpuid > tmp.txt
|
|
diff $cpu.txt tmp.txt
|
|
fi
|
|
done
|
|
|