cutlass icon indicating copy to clipboard operation
cutlass copied to clipboard

Add GMMA shape m64n40k16

Open tridao opened this issue 2 years ago • 1 comments

This GMMA shape is being used in FA3 backward pass for headdim 256 (tile size 64 x 80, split into 2 WGs). cc @thakkarV

tridao avatar Oct 11 '24 18:10 tridao

@klevzoff CC

thakkarV avatar Oct 11 '24 21:10 thakkarV

Hi @tridao, we are adding all supported GMMA shapes: https://github.com/NVIDIA/cutlass/pull/1890. Out of concern for compile times, we moved all "extended" instruction shapes into their own headers, which are conditionally included into mma_sm90_gmma.hpp and mma_traits_sm90_gmma.hpp. Nothing needs to change on your side - just compiling with CUTLASS_ENABLE_SM90_EXTENDED_MMA_SHAPES is enough.

However it may not be possible to merge both PRs because of conflict. Alternatively, @hwu36 if you merge this one first, I'm happy to rebase mine and resolve the conflict.

sklevtsov-nvidia avatar Oct 22 '24 00:10 sklevtsov-nvidia