Visible to Intel only — GUID: GUID-3E423CCE-3748-47C0-9D27-DC17A983F048
Visible to Intel only — GUID: GUID-3E423CCE-3748-47C0-9D27-DC17A983F048
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® oneAPI Math Kernel Library (oneMKL) may actually use a smaller number.
Return Values
Name |
Type |
Description |
---|---|---|
ns |
INTEGER*4 |
The number of stripes for Intel® oneAPI Math Kernel Library (oneMKL)?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'