diff options
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); |