tmp/tmpfbzmzahl/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Dynamic permute <a id="simd.permute.dynamic">[[simd.permute.dynamic]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
template<simd-vec-type V, simd-integral I>
|
| 5 |
+
constexpr resize_t<I::size(), V> permute(const V& v, const I& indices);
|
| 6 |
+
template<simd-mask-type M, simd-integral I>
|
| 7 |
+
constexpr resize_t<I::size(), M> permute(const M& v, const I& indices);
|
| 8 |
+
```
|
| 9 |
+
|
| 10 |
+
*Preconditions:* All values in `indices` are in the range \[`0`,
|
| 11 |
+
`V::size()`).
|
| 12 |
+
|
| 13 |
+
*Returns:* A data-parallel object where the iᵗʰ element is initialized
|
| 14 |
+
to the result of `v[indices[`i`]]` for all i in the range \[`0`,
|
| 15 |
+
`I::size()`).
|
| 16 |
+
|