Device looping in benchmark