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
int mkl_get_num_stripes(void);
Include Files
- mkl.h
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 |
int |
The number of stripes for Intel® oneAPI Math Kernel Library (oneMKL)?gemm functions to use. |
Example
#include "mkl.h" … int ns = mkl_get_num_stripes(); if (ns > 0) printf("Intel MKL uses %d number of stripes\n", ns);