# mkl_get_max_threads

Inquires about the number of threads targeted for parallelism.

## Syntax

Fortran:

num = mkl_get_max_threads()

C:

int mkl_get_max_threads();

## Description

This function allows the user to inquire independently of OpenMP* how many threads Intel MKL is targeting for parallelism. This is just a hint, and it is not guaranteed that 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.

Parent topic: Threading Control Functions