From aa7364276f16bbe6aa300b43bc57ff1b73be42a7 Mon Sep 17 00:00:00 2001 From: Tony Gutierrez Date: Wed, 26 Oct 2016 22:47:47 -0400 Subject: gpu-compute: use System cache line size in the GPU --- src/gpu-compute/compute_unit.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gpu-compute/compute_unit.cc') diff --git a/src/gpu-compute/compute_unit.cc b/src/gpu-compute/compute_unit.cc index f05ecc1b2..93cffbe1e 100644 --- a/src/gpu-compute/compute_unit.cc +++ b/src/gpu-compute/compute_unit.cc @@ -75,7 +75,8 @@ ComputeUnit::ComputeUnit(const Params *p) : MemObject(p), fetchStage(p), req_tick_latency(p->mem_req_latency * p->clk_domain->clockPeriod()), resp_tick_latency(p->mem_resp_latency * p->clk_domain->clockPeriod()), _masterId(p->system->getMasterId(name() + ".ComputeUnit")), - lds(*p->localDataStore), globalSeqNum(0), wavefrontSize(p->wfSize), + lds(*p->localDataStore), _cacheLineSize(p->system->cacheLineSize()), + globalSeqNum(0), wavefrontSize(p->wfSize), kernelLaunchInst(new KernelLaunchStaticInst()) { /** -- cgit v1.2.3