summaryrefslogtreecommitdiff
path: root/src/gpu-compute/wavefront.cc
diff options
context:
space:
mode:
authorAlexandru Dutu <alexandru.dutu@amd.com>2016-09-16 12:31:46 -0400
committerAlexandru Dutu <alexandru.dutu@amd.com>2016-09-16 12:31:46 -0400
commite9b14d51113def040893d711cc0d5a37cf5235ae (patch)
tree0d52a5d6ac5f804f79f59103e66b95dfd697a237 /src/gpu-compute/wavefront.cc
parent498d0e63e587f7e852483a192ecd37e7af57f8d7 (diff)
downloadgem5-e9b14d51113def040893d711cc0d5a37cf5235ae.tar.xz
gpu-compute: Refactoring Wavefront::dynWaveId
Diffstat (limited to 'src/gpu-compute/wavefront.cc')
-rw-r--r--src/gpu-compute/wavefront.cc2
1 files changed, 1 insertions, 1 deletions
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) +