Searched refs:wgId (Results 1 - 9 of 9) sorted by relevance

/gem5/src/gpu-compute/
H A Dndrange.hh48 int wgId[3]; member in struct:NDRange
H A Dlds_state.hh290 increaseRefCounter(const uint32_t dispatchId, const uint32_t wgId) argument
292 int refCount = getRefCounter(dispatchId, wgId);
295 return ++refCounter[dispatchId][wgId];
303 decreaseRefCounter(const uint32_t dispatchId, const uint32_t wgId)
305 int refCount = getRefCounter(dispatchId, wgId);
311 refCounter[dispatchId][wgId]--;
313 if (refCounter[dispatchId][wgId] == 0) {
314 releaseSpace(dispatchId, wgId);
317 return refCounter[dispatchId][wgId];
325 getRefCounter(const uint32_t dispatchId, const uint32_t wgId) cons
358 reserveSpace(const uint32_t dispatchId, const uint32_t wgId, const uint32_t size) argument
[all...]
H A Dshader.cc197 ndr->wgId[0]++;
199 if (ndr->wgId[0] * ndr->q.wgSize[0] >= ndr->q.gdSize[0]) {
200 ndr->wgId[0] = 0;
201 ndr->wgId[1]++;
203 if (ndr->wgId[1] * ndr->q.wgSize[1] >= ndr->q.gdSize[1]) {
204 ndr->wgId[1] = 0;
205 ndr->wgId[2]++;
207 if (ndr->wgId[2] * ndr->q.wgSize[2] >= ndr->q.gdSize[2]) {
H A Dwavefront.cc316 computeUnit->getRefCounter(dispatchId, wgId))) {
850 sizeof(oldBarrierCnt) + sizeof(barrierCnt) + sizeof(wgId) +
868 *(uint32_t *)iter = wgId; iter += sizeof(wgId);
935 wgId = *(uint32_t *)iter; iter += sizeof(wgId);
987 gridSz[d] - ndr->wgId[d] * workGroupSz[d]);
H A Dcompute_unit.cc274 w->wgId = ndr->globalWgId;
276 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]);
287 lds.increaseRefCounter(w->dispatchId, w->wgId);
289 cu_id, w->wgId, refCount);
374 ndr->wgId[d] * ndr->q.wgSize[d]);
1760 ComputeUnit::getRefCounter(const uint32_t dispatchId, const uint32_t wgId) const
1762 return lds.getRefCounter(dispatchId, wgId);
H A Dwavefront.hh199 uint32_t wgId; member in class:Wavefront
H A Ddispatcher.cc217 ndr->wgId[i] = 0;
H A Dcompute_unit.hh392 getRefCounter(const uint32_t dispatchId, const uint32_t wgId) const;
/gem5/src/arch/hsail/insts/
H A Dmain.cc156 decreaseRefCounter(w->dispatchId, w->wgId);
159 w->computeUnit->cu_id, w->wgId, refCount);

Completed in 25 milliseconds