Intel® oneAPI Math Kernel Library Developer Reference - C
Returns the buffer size, in bytes, needed to pack data in Compact format.
MKL_INT mkl_sget_size_compact (MKL_INT ld, MKL_INT sd, MKL_COMPACT_PACK format, MKL_INT nm);
MKL_INT mkl_dget_size_compact (MKL_INT ld, MKL_INT sd, MKL_COMPACT_PACK format, MKL_INT nm);
MKL_INT mkl_cget_size_compact (MKL_INT ld, MKL_INT sd, MKL_COMPACT_PACK format, MKL_INT nm);
MKL_INT mkl_zget_size_compact (MKL_INT ld, MKL_INT sd, MKL_COMPACT_PACK format, MKL_INT nm);
The routine returns the buffer size, in bytes, required for mkl_?gepack_compact.
Application Notes:
Before calling this routine, mkl_?get_format_compact can be called to determine the optimal format.
After calling this routine and allocating the amount of memory indicated by size, the user can call mkl_?gepack_compact to pack the nm input matrices in Compact format.
This function returns a value size.
size | The buffer size, in bytes, required by the packing function mkl_?gepack_compact. |