Searched refs:numWg (Results 1 - 3 of 3) sorted by relevance

/gem5/src/gpu-compute/
H A Dndrange.hh50 int numWg[3]; member in struct:NDRange
H A Ddispatcher.cc218 ndr->numWg[i] = divCeil(curTask.gdSize[i], curTask.wgSize[i]);
219 ndr->numWgTotal *= ndr->numWg[i];
H A Dcompute_unit.cc276 w->workGroupId[0] = w->wgId % ndr->numWg[0];
277 w->workGroupId[1] = (w->wgId / ndr->numWg[0]) % ndr->numWg[1];
278 w->workGroupId[2] = w->wgId / (ndr->numWg[0] * ndr->numWg[1]);

Completed in 26 milliseconds