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