aboutsummaryrefslogtreecommitdiffhomepage
path: root/sample/cpuid/cpuid.sh
blob: c312282006ac99e24f332c1efe01da175e5dd76d (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

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 spr)
for cpu in ${cpus[@]} ; do
  echo $cpu
  ~/bin/sde -$cpu -- ../test_util64 -cpuid > tmp.txt
  diff tmp.txt $cpu.txt
done