You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is your question? TiledCopy copyA = make_tiled_copy(Copy_Atom<UniversalCopy<uint128_t>, TA>{}, make_layout(make_shape(Int<4>{}, (Int<8>{}, Int<4>{})), make_stride(Int<4>{}, Int<1>{})), // Thr layout 4x8x4 m-major make_layout(make_shape(Int<1>{}, Int<8>{}))); // Val layout 1x8 m-major
I want to create threads in order of 484, but the copyA of print is size 16.
please help me
The text was updated successfully, but these errors were encountered:
which is an unfortunate C++ism as (Int<8>{},Int<4>{}) is a default comma-operator expression that evaluates to Int<4>{} rather than the tuple that it looks like.
You need the extra make_shape (with corrected comments and example strides):
Thanks for your reply, I think I know what the problem is, but I would like to know under what circumstances commas are used as comma operators in cutlass, because I generally think commas are used as delimiters, such as the separation of variables. Secondly, why does the stride length you described look so strange? Because I want to express that the thread configuration of 484 is 32,4,1. Thank you very much.
What is your question?
TiledCopy copyA = make_tiled_copy(Copy_Atom<UniversalCopy<uint128_t>, TA>{}, make_layout(make_shape(Int<4>{}, (Int<8>{}, Int<4>{})), make_stride(Int<4>{}, Int<1>{})), // Thr layout 4x8x4 m-major make_layout(make_shape(Int<1>{}, Int<8>{}))); // Val layout 1x8 m-major
I want to create threads in order of 484, but the copyA of print is size 16.
please help me
The text was updated successfully, but these errors were encountered: