If a region was not constrained by a high register pressure
and was not rescheduled without clustering we can skip
rescheduling it ClusteredLowOccupancyReschedule stage.
This improves scheduling speed by 25% on some kernels.
Paths
| Differential D97506
[AMDGPU] Avoid second rescheduling for some regions ClosedPublic Authored by rampitec on Feb 25 2021, 3:52 PM.
Details Summary If a region was not constrained by a high register pressure This improves scheduling speed by 25% on some kernels.
Diff Detail Event TimelineHerald added subscribers: hiraditya, t-tye, tpr and 5 others. · View Herald TranscriptFeb 25 2021, 3:52 PM rampitec added a parent revision: D97342: [AMDGPU] Skip unclusterd rescheduling w/o ld/st.Feb 25 2021, 3:53 PM Comment Actions Looks good either but as with previous patch I think setting HasClusteredNodes to true to avoid discovering it's value is a bit misleading. This revision is now accepted and ready to land.Feb 26 2021, 12:08 PM This revision was landed with ongoing or failed builds.Feb 26 2021, 12:55 PM Closed by commit rG799c50fe935b: [AMDGPU] Avoid second rescheduling for some regions (authored by rampitec). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 326541 llvm/lib/Target/AMDGPU/GCNSchedStrategy.h
llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
|
clang-format: please reformat the code