Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
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_auto_branch

Automatically detects the CNR code branch for your platform.

Syntax

int mkl_cbwr_get_auto_branch (void);

Include Files

  • mkl.h

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.