Implement hwloc affinity test tool