Developer Reference for Intel® oneAPI Math Kernel Library for C
mkl_get_format_compact
Returns the optimal compact packing format for the architecture, needed for all compact routines.
Syntax
MKL_COMPACT_PACKmkl_get_format_compact ( );
Description
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.
Return Values
format |
Intel® Advanced Vector Extensions 512 (Intel® AVX-512)-enabled processors. Intel® Advanced Vector Extensions 512 (Intel® AVX-512) for Intel® Many Integrated Core Architecture (Intel® MIC Architecture)-enabled processors. Intel® Advanced Vector Extensions 512 (Intel® AVX-512) for Intel® Many Integrated Core Architecture (Intel® MIC Architecture) with support of AVX512_4FMAPS and AVX512_4VNNIW instruction groups processors.
|
Application Notes:
After calling this routine, mkl_?get_size_compact can be called to calculate the buffer size needed for mkl_?gepack_compact .