Prevents early exit of producer blocks in Cluster. This should be called once before kernel exits.
| 187 | // Prevents early exit of producer blocks in Cluster. |
| 188 | // This should be called once before kernel exits. |
| 189 | DEVICE void producer_tail(PipelineState state) { |
| 190 | for (int count = 0; count < Stages; ++count) { |
| 191 | producer_acquire(state); |
| 192 | ++state; |
| 193 | } |
| 194 | } |
| 195 | |
| 196 | DEVICE ProducerBarrierType* producer_get_barrier(PipelineState state) { |
| 197 | return producer_get_barrier(state.index()); |
nothing calls this directly
no test coverage detected