Signal completion of Stage and move to the next stage (group_id) signals to (group_id+1)
| 291 | // Signal completion of Stage and move to the next stage |
| 292 | // (group_id) signals to (group_id+1) |
| 293 | DEVICE void arrive() { |
| 294 | int signalling_id = (params_.group_id + 1) % Length; |
| 295 | get_barrier_for_current_stage(signalling_id).arrive(); |
| 296 | ++stage_; |
| 297 | } |
| 298 | |
| 299 | DEVICE void advance() { ++stage_; } |
| 300 |