Home
last modified time | relevance | path

Searched refs:MaxWaves (Results 1 – 2 of 2) sorted by relevance

/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUSubtarget.cpp359 unsigned MaxWaves = NumGroups * MaxGroupNumWaves; in getOccupancyWithLocalMemSize() local
362 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()
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp870 unsigned MaxWaves = getMaxWavesPerEU(STI) * getEUsPerCU(STI); in getMaxWorkGroupsPerCU() local
874 return MaxWaves; in getMaxWorkGroupsPerCU()
881 return std::min(MaxWaves / N, MaxBarriers); in getMaxWorkGroupsPerCU()
1069 unsigned MaxWaves = getMaxWavesPerEU(STI); in getNumWavesPerEUWithNumVGPRs() local
1072 return MaxWaves; in getNumWavesPerEUWithNumVGPRs()
1074 return std::min(std::max(getTotalNumVGPRs(STI) / RoundedRegs, 1u), MaxWaves); in getNumWavesPerEUWithNumVGPRs()