44 bool waveChosen =
false;
46 int selectedWaveID = -1;
47 uint32_t selectedPosition = 0;
49 for (
int position = 0; position <
scheduleList->size(); ++position) {
51 uint32_t curWaveID = curWave->
wfDynId;
54 if (selectedWaveID == -1 || curWaveID < selectedWaveID) {
56 selectedWaveID = curWaveID;
57 selectedWave = curWave;
58 selectedPosition = position;
66 panic(
"Empty ready list");
std::vector< Wavefront * > * scheduleList
void bindList(std::vector< Wavefront * > *list)