1#!/bin/bash
2
3gpus=(baytrail broadwell haswell ivybridge sandybridge)
4
5for gpu in ${gpus[*]}
6do
7  rm expectations/${gpu}/*.json
8  cat expectations/${gpu}/* | sort > /tmp/${gpu}.sorted
9  cat expectations/${gpu}/* | sort | uniq > /tmp/${gpu}.sorted_uniq
10  diff /tmp/${gpu}.sorted /tmp/${gpu}.sorted_uniq > ${gpu}.diff
11done
12
13