Searched refs:wgId (Results 1 - 9 of 9) sorted by relevance
/gem5/src/gpu-compute/ |
H A D | ndrange.hh | 48 int wgId[3]; member in struct:NDRange
|
H A D | lds_state.hh | 290 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 D | shader.cc | 197 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 D | wavefront.cc | 316 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 D | compute_unit.cc | 274 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 D | wavefront.hh | 199 uint32_t wgId; member in class:Wavefront
|
H A D | dispatcher.cc | 217 ndr->wgId[i] = 0;
|
H A D | compute_unit.hh | 392 getRefCounter(const uint32_t dispatchId, const uint32_t wgId) const;
|
/gem5/src/arch/hsail/insts/ |
H A D | main.cc | 156 decreaseRefCounter(w->dispatchId, w->wgId); 159 w->computeUnit->cu_id, w->wgId, refCount);
|
Completed in 14 milliseconds