36#include "params/ComputeUnit.hh"
43 if (
p.execPolicy ==
"OLDEST-FIRST") {
45 }
else if (
p.execPolicy ==
"ROUND-ROBIN") {
48 fatal(
"Unimplemented scheduling policy.\n");
void bindList(std::vector< Wavefront * > *sched_list)
SchedulingPolicy * schedPolicy
Scheduling policy.
std::vector< Wavefront * > * scheduleList
Scheduler(const ComputeUnitParams ¶ms)
virtual Wavefront * chooseWave(std::vector< Wavefront * > *sched_list)=0
#define fatal(...)
This implements a cprintf based fatal() function.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.