Skip to content

Multi-stage pipeline: Why wait for two groups to complete at the beginning? #500

Answered by masahi
masahi asked this question in Q&A
Discussion options

You must be logged in to vote

oh maybe I got it. At the last warp_mma_k iteration of a given stage, we want to start loading from the next stage copy results:

this->warp_tile_iterator_A_.load(warp_loaded_frag_A[(warp_mma_k + 1) % 2]);
this->warp_tile_iterator_B_.load(warp_loaded_frag_B[(warp_mma_k + 1) % 2]);

so yeah, I can see why we need two stages of copy results always ready.

Replies: 6 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by masahi
Comment options

You must be logged in to vote
1 reply
@masahi
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@TigerYang414
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants