LLVM: lib/Target/AMDGPU/AMDGPUSetWavePriority.cpp File Reference (original) (raw)

Pass to temporarily raise the wave priority beginning the start of the shader function until its last VMEM instructions to allow younger waves to issue their VMEM instructions as well. More...

Go to the source code of this file.

Macros
#define DEBUG_TYPE "amdgpu-set-wave-priority"
Variables
static cl::opt< unsigned > DefaultVALUInstsThreshold ("amdgpu-set-wave-priority-valu-insts-threshold", cl::desc("VALU instruction count threshold for adjusting wave priority"), cl::init(100), cl::Hidden)

Pass to temporarily raise the wave priority beginning the start of the shader function until its last VMEM instructions to allow younger waves to issue their VMEM instructions as well.

Definition in file AMDGPUSetWavePriority.cpp.

DEBUG_TYPE

#define DEBUG_TYPE "amdgpu-set-wave-priority"

CanLowerPriorityDirectlyInPredecessors()

isVMEMLoad()

DefaultVALUInstsThreshold

cl::opt< unsigned > DefaultVALUInstsThreshold("amdgpu-set-wave-priority-valu-insts-threshold", cl::desc("VALU instruction count threshold for adjusting wave priority"), cl::init(100), cl::Hidden) ( "amdgpu-set-wave-priority-valu-insts-threshold" , cl::desc("VALU instruction count threshold for adjusting wave priority") , cl::init(100) , cl::Hidden ) static