|
LLVM 24.0.0git
|
Coexecution-focused scheduling strategy for AMDGPU. More...
#include "AMDGPUCoExecSchedStrategy.h"#include "AMDGPUBarrierLatency.h"#include "AMDGPUIGroupLP.h"#include "GCNHazardRecognizer.h"#include "llvm/Support/Debug.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "machine-scheduler" |
Functions | |
| static SUnit * | pickOnlyChoice (SchedBoundary &Zone) |
| static CoExecInfo | buildMFMACoExecInfo (unsigned SALU, unsigned Mem, unsigned VALU, unsigned MFMA, unsigned PkF32, unsigned Window) |
| Build MFMA co-exec rules from the first stage at which SALU, memory (DS and VMEM), VALU, the next MFMA and packed F32 VALU may issue. | |
Variables | |
| static constexpr unsigned | DefaultCoExecVGPRThresholdPercent = 100 |
Coexecution-focused scheduling strategy for AMDGPU.
Definition in file AMDGPUCoExecSchedStrategy.cpp.
| #define DEBUG_TYPE "machine-scheduler" |
Definition at line 23 of file AMDGPUCoExecSchedStrategy.cpp.
|
static |
Build MFMA co-exec rules from the first stage at which SALU, memory (DS and VMEM), VALU, the next MFMA and packed F32 VALU may issue.
MFMA slots are cumulative: each slot allows what the previous one did and possibly more.
Definition at line 54 of file AMDGPUCoExecSchedStrategy.cpp.
References assert(), llvm::AMDGPU::DS, I, llvm::AMDGPU::CoExecSlotInfo::Mask, llvm::AMDGPU::MaxCoExecStages, MFMA, llvm::AMDGPU::None, llvm::AMDGPU::CoExecInfo::Pattern, llvm::AMDGPU::PK_F32, llvm::AMDGPU::SALU, llvm::AMDGPU::CoExecInfo::Slots, llvm::AMDGPU::CoExecInfo::TotalWindow, llvm::AMDGPU::TRANS, llvm::AMDGPU::VALU, llvm::AMDGPU::VMEM, and llvm::AMDGPU::WMMA.
Referenced by llvm::AMDGPU::getMFMACoExecInfo().
|
static |
Definition at line 42 of file AMDGPUCoExecSchedStrategy.cpp.
References llvm::ReadyQueue::empty(), llvm::SchedBoundary::Pending, and llvm::SchedBoundary::pickOnlyChoice().
Referenced by llvm::AMDGPUCoExecSchedStrategy::pickNode(), llvm::GCNSchedStrategy::pickNode(), and llvm::GCNSchedStrategy::pickNodeBidirectional().
|
staticconstexpr |
Definition at line 26 of file AMDGPUCoExecSchedStrategy.cpp.
Referenced by llvm::AMDGPUCoExecSchedStrategy::AMDGPUCoExecSchedStrategy().