Developer Reference for Intel® oneAPI Math Kernel Library for C
VM Pack/Unpack Functions
This section describes VM functions that convert vectors with unit increment to and from vectors with positive increment indexing, vector indexing, and mask indexing (see Appendix “Vector Arguments in VM” for details on vector indexing methods).
The table below lists available VM Pack/Unpack functions, together with data types and indexing methods associated with them.
VM Pack/Unpack Functions
Function Short Name |
Data Types |
Indexing Methods |
Description |
|---|---|---|---|
v?Pack (Copies elements of an array with specified indexing to a vector with unit increment.) |
s, d, c, z |
I,V,M |
Gathers elements of arrays, indexed by different methods. |
v?Unpack (Copies elements of a vector with unit increment to an array with specified indexing.) |
s, d, c, z |
I,V,M |
Scatters vector elements to arrays with different indexing. |