Developer Reference

  • 0.10
  • 10/21/2020
  • Public Content
Contents

mkl_cbwr_set

Configures the CNR mode of
Intel® oneAPI Math Kernel Library
.

Syntax

int
mkl_cbwr_set
(
int
setting
);
Include Files
  • mkl.h
Input Parameters
Name
Type
Description
setting
int
CNR branch to set. See Named Constants for CNR Control for a list of named constants that specify the settings.
Description
The
mkl_cbwr_set
function configures the CNR mode. In this release, it sets the CNR branch and turns on the CNR mode.
Settings specified by the
mkl_cbwr_set
function take precedence over the settings specified by the
MKL_CBWR
environment variable.
Return Values
Name
Type
Description
status
int
The status of the function completion:
  • MKL_CBWR_SUCCESS
    - the function completed successfully.
  • MKL_CBWR_ERR_INVALID_INPUT
    - an invalid setting is requested.
  • MKL_CBWR_ERR_UNSUPPORTED_BRANCH
    - the input value of the branch does not match the instruction set architecture (ISA) of your system. See Named Constants for CNR Control for more details.
  • MKL_CBWR_ERR_MODE_CHANGE_FAILURE
    - the
    mkl_cbwr_set
    function requested to change the current CNR branch after a call to some
    Intel® oneAPI Math Kernel Library
    function other than a CNR function.

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