THU-DSP-LAB / ventus-gpgpu

GPGPU processor supporting RISCV-V extension, developed with Chisel HDL
Mulan Permissive Software License, Version 2
633 stars 73 forks source link

fix barrier: warp_sche war_bar_exp record all wf in wg when first wf … #47

Closed reoLantern closed 5 months ago

reoLantern commented 5 months ago

…arrive; a simple testcase to verify

之前的版本warp scheduler只记录在sm内active的warp,导致barrier指令只同步已经在sm中的warp。新版本记录每个wg所有wavefront数量,barrier时根据wid(warp id)查询wf id,同步所有wf。