mkl_get_max_threads

Inquires about the number of threads targeted for parallelism.

Syntax

FORTRAN:

num = mkl_get_max_threads()

C:

num = mkl_get_max_threads();

Include Files

Description

This function allows you to inquire independently of OpenMP* how many threads Intel MKL is targeting for parallelism. The number is a hint, and there is no guarantee that exactly this number of threads will be used.

See Intel MKL User's Guide for implementation details.

Return Values

The output is INTEGER equal to the number of threads.


Submit feedback on this help topic