Update base_grouped.h (#832)

This commit is contained in:
Yuxin Wu 2023-02-21 11:48:30 -08:00 committed by GitHub
parent 91b8de8d32
commit 95f673ecf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -342,7 +342,7 @@ public:
// which are not assigned tiles still need to perform the work of iterating through
// problem sizes to determine that they have no work to do. This competes for cycles
// with those threadblocks that are assigned tiles to compute.
return min(total_tiles, occupancy_based_block_count);
return std::min(total_tiles, occupancy_based_block_count);
}