diff options
author | Alexandru Dutu <alexandru.dutu@amd.com> | 2016-09-16 12:26:52 -0400 |
---|---|---|
committer | Alexandru Dutu <alexandru.dutu@amd.com> | 2016-09-16 12:26:52 -0400 |
commit | 589e13a23b3969c1137d2170a8638356d0c0fc65 (patch) | |
tree | 3ccfcde3173d9d3c234e0fa9ce130931786981eb /src/gpu-compute/fetch_unit.cc | |
parent | e9fe1b838b94eb46f165b9adb6281a862b172dfe (diff) | |
download | gem5-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.cc | 2 |
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); |