Intel® oneAPI Math Kernel Library Developer Reference - C

mkl_cbwr_get_auto_branch

Automatically detects the CNR code branch for your platform.

Syntax

int mkl_cbwr_get_auto_branch (void);

Include Files

Description

The mkl_cbwr_get_auto_branch function uses a run-time CPU check to return a CNR branch that is optimized for the processor where the program is currently running.

Product and Performance Information

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.

Notice revision #20201201

Return Values

Name

Type

Description

setting

int

Automatically detected CNR branch. May be any specific branch listed in Named Constants for CNR Control.

See Also