Intel® Math Kernel Library 2018 Developer Reference - C

mkl_mic_enable

Enables Automatic Offload mode.

Syntax

int mkl_mic_enable();

Include Files

Description

The mkl_mic_enable function enables Automatic Offload mode and initializes Intel Xeon Phi coprocessors available on your system. This function takes precedence over the MKL_MIC_ENABLE environment variable. Unlike the function, the environment variable enables Automatic Offload mode, but the initialization is delayed until a call to an Intel MKL function supporting Automatic Offload. For functions supporting Automatic Offload, see the Intel MKL Release Notes.

Return Values

Name

Type

Description

ierr

int

Result status:

= 0  Indicates that Automatic Offload mode is successfully enabled.

< 0  Indicates a failure to enable Automatic Offload mode.