CUDA: global reductions require shared mem >= block size * 8