Intel® Math Kernel Library 2019 Developer Reference - Fortran

mkl_cbwr_get

Returns the current CNR settings.

Syntax

setting = mkl_cbwr_get( option )

Fortran Include Files/Modules

Input Parameters

Name

Type

Description

option

INTEGER*4

Specifies what kind of settings is requested. Named constants define possible values of option:

  • MKL_CBWR_BRANCH - indicates the setting of the CNR branch.

  • MKL_CBWR_ALL - indicates all CNR-related settings.

Note

This release supports no CNR settings other than branch.

Description

The mkl_cbwr_get function returns the requested CNR settings. If the function completes successfully and the CNR mode is turned on, mkl_cbwr_get returns the specific CNR branch.

Note

To turn the CNR mode on, use the mkl_cbwr_set function or environment variables. For more details, see the Intel MKL Developer Guide.

Return Values

Name

Type

Description

setting

INTEGER*4

Requested CNR settings. See Named Constants for CNR Control for a list of named constants that specify the settings.

If the value of the option parameter is not permitted, contains the MKL_CBWR_ERR_INVALID_INPUT error code.

See Also