Implement thread_group::hardware_concurrency() function
Eliminate the last dependency on mgpu from inclusive_scan.