forked from OSchip/llvm-project
parent
01434f9377
commit
462403a5c8
|
@ -26,7 +26,7 @@ class GCNSubtarget;
|
||||||
/// and the GenericScheduler is that GCNSchedStrategy uses different
|
/// and the GenericScheduler is that GCNSchedStrategy uses different
|
||||||
/// heuristics to determine excess/critical pressure sets. Its goal is to
|
/// heuristics to determine excess/critical pressure sets. Its goal is to
|
||||||
/// maximize kernel occupancy (i.e. maximum number of waves per simd).
|
/// maximize kernel occupancy (i.e. maximum number of waves per simd).
|
||||||
class GCNMaxOccupancySchedStrategy : public GenericScheduler {
|
class GCNMaxOccupancySchedStrategy final : public GenericScheduler {
|
||||||
friend class GCNScheduleDAGMILive;
|
friend class GCNScheduleDAGMILive;
|
||||||
|
|
||||||
SUnit *pickNodeBidirectional(bool &IsTopNode);
|
SUnit *pickNodeBidirectional(bool &IsTopNode);
|
||||||
|
@ -59,7 +59,7 @@ public:
|
||||||
void setTargetOccupancy(unsigned Occ) { TargetOccupancy = Occ; }
|
void setTargetOccupancy(unsigned Occ) { TargetOccupancy = Occ; }
|
||||||
};
|
};
|
||||||
|
|
||||||
class GCNScheduleDAGMILive : public ScheduleDAGMILive {
|
class GCNScheduleDAGMILive final : public ScheduleDAGMILive {
|
||||||
|
|
||||||
const GCNSubtarget &ST;
|
const GCNSubtarget &ST;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue