From e9b14d51113def040893d711cc0d5a37cf5235ae Mon Sep 17 00:00:00 2001 From: Alexandru Dutu Date: Fri, 16 Sep 2016 12:31:46 -0400 Subject: gpu-compute: Refactoring Wavefront::dynWaveId --- src/gpu-compute/wavefront.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpu-compute/wavefront.cc') diff --git a/src/gpu-compute/wavefront.cc b/src/gpu-compute/wavefront.cc index 3deb11961..c2356b47f 100644 --- a/src/gpu-compute/wavefront.cc +++ b/src/gpu-compute/wavefront.cc @@ -935,7 +935,7 @@ Wavefront::pc(uint32_t new_pc) uint32_t Wavefront::getStaticContextSize() const { - return barCnt.size() * sizeof(int) + sizeof(dynWaveId) + sizeof(maxBarCnt) + + return barCnt.size() * sizeof(int) + sizeof(wfId) + sizeof(maxBarCnt) + sizeof(oldBarrierCnt) + sizeof(barrierCnt) + sizeof(wgId) + sizeof(computeUnit->cu_id) + sizeof(barrierId) + sizeof(initMask) + sizeof(privBase) + sizeof(spillBase) + sizeof(ldsChunk) + -- cgit v1.2.3