|
13066 | 13066 | \item
|
13067 | 13067 | otherwise, \tcode{layout_left} if \tcode{Layout} is \tcode{layout_right};
|
13068 | 13068 | \item
|
| 13069 | +otherwise, \tcode{layout_right_padded<PaddingValue>} if \tcode{Layout} is\newline |
| 13070 | +\tcode{layout_left_padded<PaddingValue>} |
| 13071 | +for some \tcode{size_t} value \tcode{PaddingValue}; |
| 13072 | +\item |
| 13073 | +otherwise, \tcode{layout_left_padded<PaddingValue>} if \tcode{Layout} is\newline |
| 13074 | +\tcode{layout_right_padded<PaddingValue>} |
| 13075 | +for some \tcode{size_t} value \tcode{PaddingValue}; |
| 13076 | +\item |
13069 | 13077 | otherwise, \tcode{layout_stride} if \tcode{Layout} is \tcode{layout_stride};
|
13070 | 13078 | \item
|
13071 | 13079 | otherwise,
|
@@ -13108,11 +13116,26 @@
|
13108 | 13116 | a.accessor())
|
13109 | 13117 | \end{codeblock}
|
13110 | 13118 | \item
|
| 13119 | +otherwise, |
| 13120 | +\begin{codeblock} |
| 13121 | +R(a.data_handle(), ReturnMapping(@\exposid{transpose-extents}@(a.mapping().extents()), |
| 13122 | + a.mapping().stride(1)), a.accessor()) |
| 13123 | +\end{codeblock} |
| 13124 | +if \tcode{Layout} is \tcode{layout_left_padded<PaddingValue>} |
| 13125 | +for some \tcode{size_t} value \tcode{PaddingValue}; |
| 13126 | +\item |
| 13127 | +otherwise, |
| 13128 | +\begin{codeblock} |
| 13129 | +R(a.data_handle(), ReturnMapping(@\exposid{transpose-extents}@(a.mapping().extents()), |
| 13130 | + a.stride(0)), a.accessor()) |
| 13131 | +\end{codeblock} |
| 13132 | +if \tcode{Layout} is \tcode{layout_right_padded<PaddingValue>} |
| 13133 | +for some \tcode{size_t} value \tcode{PaddingValue}; |
| 13134 | +\item |
13111 | 13135 | otherwise, if \tcode{Layout} is \tcode{layout_stride},
|
13112 | 13136 | \begin{codeblock}
|
13113 | 13137 | R(a.data_handle(), ReturnMapping(@\exposid{transpose-extents}@(a.mapping().extents()),
|
13114 |
| - array{a.mapping().stride(1), a.mapping().stride(0)}), |
13115 |
| - a.accessor()) |
| 13138 | + array{a.mapping().stride(1), a.mapping().stride(0)}), a.accessor()) |
13116 | 13139 | \end{codeblock}
|
13117 | 13140 | \item
|
13118 | 13141 | otherwise, if \tcode{Layout} is a specialization of \tcode{layout_transpose},
|
|
0 commit comments