Skip to content
Snippets Groups Projects
Commit e5de18f9 authored by Jan David Mol's avatar Jan David Mol
Browse files

COB-51: Expand search range for kernel parameters to reach high occupancy on modern GPUs

parent c3876450
No related branches found
No related tags found
1 merge request!6Import cobalt2 into lofar4
......@@ -125,7 +125,7 @@ int regsLimit(MyKernel& kernel) {
// It's hard to do another meaningful and reliable check
// without resorting to hardware specifics.
// It looks like we always have at least 2 points of some max occ. Check.
LOG_INFO_STR("max occupancy is " << maxOcc << "; reached at " << maxOccOccurances << " block size configs (up to 512)");
LOG_INFO_STR("max occupancy is " << maxOcc << "; reached at " << maxOccOccurances << " block size configs (up to 1024)");
if (maxOccOccurances < 2) {
LOG_ERROR("the max occupancy must be reachable at 2 or more block size configs");
return 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment