summaryrefslogtreecommitdiff
path: root/configs/example/apu_se.py
diff options
context:
space:
mode:
Diffstat (limited to 'configs/example/apu_se.py')
-rw-r--r--configs/example/apu_se.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/example/apu_se.py b/configs/example/apu_se.py
index 75819b505..27a26071b 100644
--- a/configs/example/apu_se.py
+++ b/configs/example/apu_se.py
@@ -250,7 +250,8 @@ for i in xrange(n_cu):
vrfs = []
for j in xrange(options.simds_per_cu):
for k in xrange(shader.n_wf):
- wavefronts.append(Wavefront(simdId = j, wf_slot_id = k))
+ wavefronts.append(Wavefront(simdId = j, wf_slot_id = k,
+ wfSize = options.wf_size))
vrfs.append(VectorRegisterFile(simd_id=j,
num_regs_per_simd=options.vreg_file_size))
compute_units[-1].wavefronts = wavefronts