Developer Reference

  • 0.9
  • 09/09/2020
  • Public Content
Contents

mkl_cbwr_get

Returns the current CNR settings.

Syntax

int
mkl_cbwr_get
(
int
option
);
Include Files
  • mkl.h
Input Parameters
Name
Type
Description
option
int
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.
To enable CNR mode, use the
mkl_cbwr_set
function or environment variables. For more details, see the
Intel® oneAPI Math Kernel Library
Developer Guide
.
Return Values
Name
Type
Description
setting
int
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.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804