Intel® oneAPI Math Kernel Library Developer Reference - Fortran
Gets the number of partitions along the leading dimension of the output matrix for parallel ?GEMM functions.
ns = mkl_get_num_stripes( )
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® oneAPI Math Kernel Library may actually use a smaller number.
Name |
Type |
Description |
---|---|---|
ns |
INTEGER*4 |
The number of stripes for Intel® oneAPI Math Kernel Library?GEMM functions to use. |
use mkl_service … INTEGER*4 ns = mkl_get_num_stripes() if (ns .GT. 0) print *, 'Intel MKL uses', ns, 'number of stripes'