Make the work given in benchmark mode deterministic on a per-device basis