summaryrefslogtreecommitdiff
path: root/src/gpu-compute/fetch_unit.cc
diff options
context:
space:
mode:
authorAlexandru Dutu <alexandru.dutu@amd.com>2016-09-16 12:26:52 -0400
committerAlexandru Dutu <alexandru.dutu@amd.com>2016-09-16 12:26:52 -0400
commit589e13a23b3969c1137d2170a8638356d0c0fc65 (patch)
tree3ccfcde3173d9d3c234e0fa9ce130931786981eb /src/gpu-compute/fetch_unit.cc
parente9fe1b838b94eb46f165b9adb6281a862b172dfe (diff)
downloadgem5-589e13a23b3969c1137d2170a8638356d0c0fc65.tar.xz
gpu-compute: Wavefront refactoring
Renaming members of the Wavefront class in accordance with the style guide.
Diffstat (limited to 'src/gpu-compute/fetch_unit.cc')
-rw-r--r--src/gpu-compute/fetch_unit.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu-compute/fetch_unit.cc b/src/gpu-compute/fetch_unit.cc
index 1f0a7d78e..9104c400e 100644
--- a/src/gpu-compute/fetch_unit.cc
+++ b/src/gpu-compute/fetch_unit.cc
@@ -115,7 +115,7 @@ FetchUnit::initiateFetch(Wavefront *wavefront)
{
// calculate the virtual address to fetch from the SQC
Addr vaddr = wavefront->pc() + wavefront->instructionBuffer.size();
- vaddr = wavefront->base_ptr + vaddr * sizeof(GPUStaticInst*);
+ vaddr = wavefront->basePtr + vaddr * sizeof(GPUStaticInst*);
DPRINTF(GPUTLB, "CU%d: WF[%d][%d]: Initiating fetch translation: %#x\n",
computeUnit->cu_id, wavefront->simdId, wavefront->wfSlotId, vaddr);