Fixed bug of determine max block size in hipOccupancyMaxPotentialBlockSize (#1235)
Ta zmiana jest zawarta w:
1 rodzic
00aa42e05f
złożenie
6ec476e50a
Plik 1 zmieniony
+1
-1
@@ -993,7 +993,7 @@ hipError_t ihipOccupancyMaxPotentialBlockSize(uint32_t* gridSize, uint32_t* bloc
|
||||
tmp_min = min(maxWavesSGPRSLimited, tmp_min);
|
||||
activeWavefronts = min(maxWavesVGPRSLimited, tmp_min);
|
||||
|
||||
if (maxActivWaves < activeWavefronts) {
|
||||
if (maxActivWaves <= activeWavefronts) {
|
||||
maxActivWaves = activeWavefronts;
|
||||
maxWavefronts = wavefrontsPerWG;
|
||||
}
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika