Cannot have more than 1024 threads per block