Developer Reference

  • 2020.2
  • 07/15/2020
  • Public Content
Contents

mkl_get_num_stripes

Gets the number of partitions along the leading dimension of the output matrix for parallel
?GEMM
functions.

Syntax

ns
=
mkl_get_num_stripes
(
)
Fortran Include Files/Modules
  • Include file:
    mkl.fi
  • Module (compiled):
    mkl_service.mod
  • Module (source):
    mkl_service.f90
Description
This function returns the number of stripes, that is, partitions along the leading dimension of the output matrix, for parallel
?GEMM
functions. The number of partitions only applies to
?GEMM
functions.
The number returned is a hint, and
Intel® MKL
may actually use a smaller number.
Return Values
Name
Type
Description
ns
INTEGER*4
The number of stripes for
Intel® MKL
?GEMM
functions to use.

Example

use mkl_service …
INTEGER*4 ns = mkl_get_num_stripes()
if (ns .GT. 0) print *, 'Intel MKL uses', ns, 'number of stripes'

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