Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

mkl_cbwr_get

Returns the current CNR settings.

Syntax

setting = mkl_cbwr_get( option )

Fortran Include Files/Modules

  • Include file: mkl.fi
  • Module (compiled): mkl_service.mod
  • Module (source): mkl_service.f90

Input Parameters

Name

Type

Description

option

INTEGER*4

Specifies the CNR settings requested. Named constants define possible values of option:

  • MKL_CBWR_BRANCH - returns the current CNR branch only.

  • MKL_CBWR_ALL - returns all CNR settings including strict CNR setting.

Description

The mkl_cbwr_get function returns the requested CNR settings. The function returns MKL_CBWR_ERR_INVALID_INPUT if an invalid option is specified.

NOTE:

To enable CNR mode, use the mkl_cbwr_set function or environment variables. For more details, see the Intel® oneAPI Math Kernel Library (oneMKL) 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.