cpp-proposals-pub icon indicating copy to clipboard operation
cpp-proposals-pub copied to clipboard

Add transposed special cases for P2642 layouts

Open mhoemmen opened this issue 1 year ago • 0 comments

Add transposed special cases for P2642 layouts

Problem

P1673's transposed doesn't have special cases for P2642's layout_left_padded and layout_right_padded. As a result, transposed will return layout_transpose of these layouts, even though those layouts are more specialized than layout_stride and could thus easily have special cases.

P1673 used to have special cases for these two layouts, until the two layouts were moved from P1673 to P2642.

Suggested fix

Add special cases to [linalg.transp.transposed], paragraphs 3 and 4.

mhoemmen avatar Feb 26 '24 22:02 mhoemmen