mkl_domain_get_max_threads

Inquires about the number of threads targeted for parallelism in different domains.

Syntax

FORTRAN:

ierr = mkl_domain_get_max_threads( mask )

C:

ierr = mkl_domain_get_max_threads( mask );

Include Files

Input Parameters

Name

Type

Description

mask

FORTRAN: INTEGER

C: int

The name of the targeted domain

Description

This function allows the user of different domains of Intel MKL to inquire what number of threads is being used as a hint. The inquiry does not imply that this is the actual number of threads used. The number may vary depending on the value of the MKL_DYNAMIC variable and/or problem size, system resources, etc. But the function returns the value that MKL is targeting for a given domain.

The currently supported domains are:

You are supposed to enter a valid domain.

See Intel MKL User's Guide for implementation details.

Return Values

Returns the hint about the number of threads for a given domain.


Submit feedback on this help topic