Intel® Math Kernel Library 2018 Developer Reference - C
Turns on/off reporting of Automatic Offload profiling.
int mkl_mic_set_offload_report (int enabled);
Name |
Type |
Description |
---|---|---|
enabled |
int |
This parameter specifies whether to turn the reporting on or off. Takes values with boolean semantics:
|
If the OFFLOAD_REPORT environment variable has the value of 1 or 2, the mkl_mic_set_offload_report function turns on/off reporting of the Automatic Offload profiling at run time. If the OFFLOAD_REPORT environment variable is not set or is set to a value different from 1 and 2, the function has no effect. If OFFLOAD_REPORT is set to 1 or 2, the reporting is turned on at a program startup. The mkl_mic_set_offload_report function does not change the reporting level or the value of the environment variable. Instead, it determines which Intel MKL functions called in the Automatic Offload mode produce profiling reports.
For details of the reporting level and OFFLOAD_REPORT environment variable, see the Intel MKL Developer Guide.
Name |
Type |
Description |
---|---|---|
iprev |
int |
The previous value that determined whether the reporting was on or off. |