[OpenMP][CUDA] Refine the logic to determine grid size
This patch refines the logic to determine grid size as previous method can escape the check of whether `CudaBlocksPerGrid` could be greater than the actual hardware limit. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D119311
Loading
Please register or sign in to comment