Searched refs:MaxWaves (Results 1 – 2 of 2) sorted by relevance
359 unsigned MaxWaves = NumGroups * MaxGroupNumWaves; in getOccupancyWithLocalMemSize() local362 MaxWaves = divideCeil(MaxWaves, getEUsPerCU()); in getOccupancyWithLocalMemSize()365 MaxWaves = std::min(MaxWaves, getMaxWavesPerEU()); in getOccupancyWithLocalMemSize()370 assert(MaxWaves > 0 && MaxWaves <= getMaxWavesPerEU() && in getOccupancyWithLocalMemSize()372 return MaxWaves; in getOccupancyWithLocalMemSize()
870 unsigned MaxWaves = getMaxWavesPerEU(STI) * getEUsPerCU(STI); in getMaxWorkGroupsPerCU() local874 return MaxWaves; in getMaxWorkGroupsPerCU()881 return std::min(MaxWaves / N, MaxBarriers); in getMaxWorkGroupsPerCU()1069 unsigned MaxWaves = getMaxWavesPerEU(STI); in getNumWavesPerEUWithNumVGPRs() local1072 return MaxWaves; in getNumWavesPerEUWithNumVGPRs()1074 return std::min(std::max(getTotalNumVGPRs(STI) / RoundedRegs, 1u), MaxWaves); in getNumWavesPerEUWithNumVGPRs()