aboutsummaryrefslogtreecommitdiffhomepage
path: root/sample/cpuid/cpuid.sh
blob: 0a9d78a08ed0f289029d8784eb41b55f2f04bfac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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 mtl rpl spr gnr srf grr)

for cpu in ${cpus[@]} ; do
  echo $cpu
  ~/bin/sde -$cpu -- ../test_util64 -cpuid > tmp.txt
  diff $cpu.txt tmp.txt
done