Intel® oneAPI Math Kernel Library Developer Reference - C
Returns the optimal compact packing format for the architecture, needed for all compact routines.
MKL_COMPACT_PACK mkl_get_format_compact ();
The routine returns the optimal compact packing format, which is an MKL_COMPACT_PACK type, for the current architecture. The optimal value of format is determined by the architecture's vector-register length. format is a required parameter for any packing, unpacking, or BLAS/LAPACK compact routine. See Compact Format for details.
The function returns a value format.
format | format
can be returned as any of the
following three values.
MKL_COMPACT_AVX512 is the optimal format
value for:
|
Application Notes:
After calling this routine, mkl_?get_size_compact can be called to calculate the buffer size needed for mkl_?gepack_compact.