Developer Reference

  • 0.10
  • 10/21/2020
  • Public Content
Contents

mkl_?get_size_compact

Returns the buffer size, in bytes, needed to pack data in Compact format.

Syntax

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
);
Description
The routine returns the buffer size, in bytes, required for
mkl_?gepack_compact
.
Input Parameters
ld
Leading dimension of the matrices in Compact format.
sd
Second dimension of the matrices in Compact format.
format
Describes the compact packing format according to the
MKL_COMPACT_PACK
enum
type
.
nm
Total number of matrices to be packed in Compact format.
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.
Return Values
This function returns a value
size
.
size
The buffer size, in bytes, required by the packing function mkl_?gepack_compact.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804