HWLOC resource assignment implementation.