Skip to content

How to set permutations in TiledMMA for simt? #1362

Answered by thakkarV
cctry asked this question in Q&A
Discussion options

You must be logged in to vote

Then, I replicate the atom to 2x2, so there should be 4 threads doing 8x8x1 mma. But the permutation is ignored here?

No, that is a misunderstanding. if you are creating a TiledMMA with an atom layout of 2x2 (seems like a copy paste error in your text) and a Tile of 4x4, each thread would compute only a 2x2 subtile. The tile describes the entire tile that this tiled MMA computes, not each thread. In general, you should not think of things in units of threads anyway, and rather in units of atoms.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by cctry
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