mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-20 12:59:49 +00:00
Merge commit '47e2ed838e3547bba1b48d3f559f20f46fd07b87' into develop
This commit is contained in:
@@ -662,7 +662,7 @@ struct StreamKKernel
|
||||
hip_check_error(
|
||||
hipOccupancyMaxActiveBlocksPerMultiprocessor(&occupancy, kernel, kBlockSize, 0));
|
||||
|
||||
return occupancy;
|
||||
return max(occupancy, 1);
|
||||
}
|
||||
};
|
||||
} // namespace reboot
|
||||
|
||||
Reference in New Issue
Block a user