Intel® Math Kernel Library 2018 Developer Reference - C
Retrieves flags that control the behavior of computations in the Automatic Offload mode.
int mkl_mic_get_flags (void);
This function retrieves flags that control the behavior of computations in the Automatic Offload (AO) mode. These flags are either the default flags for the AO mode or the flags set in a call to the mkl_mic_set_flags function.
Depending on the flags set, the AO program may silently return to the calling program in the case of an AO error. To check whether the AO call is successful, call the mkl_mic_get_status function and check whether the return value is non-negative. For more details of mkl_mic_get_status and in particular, for a sequence of function calls that enables checking the status of an AO call, see mkl_mic_get_status.
Name |
Type |
Description |
---|---|---|
flags |
int |
The flags returned, which can be one of the following:
|