Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp803 unsigned OccupancyHint = ST.getWavesPerEU(F).second; in hasSufficientLocalMem() local
804 if (OccupancyHint == 0) in hasSufficientLocalMem()
805 OccupancyHint = 7; in hasSufficientLocalMem()
808 OccupancyHint = std::min(OccupancyHint, ST.getMaxWavesPerEU()); in hasSufficientLocalMem()
812 MaxOccupancy = std::min(OccupancyHint, MaxOccupancy); in hasSufficientLocalMem()