Added support for more than 32 cores and comma delineated affinities