Intel® Math Kernel Library 2018 Developer Reference - C
For computations in the Automatic Offload mode, retrieves the maximum fraction of available Intel Xeon Phi coprocessor computational resources (cores) that the calling process can use.
int mkl_mic_get_resource_limit (double* fraction);
Name |
Type |
Description |
---|---|---|
fraction |
double* |
The fractional amount of Intel Xeon Phi coprocessor computational resources that the calling process can use for Automatic Offload (AO). Possible values: 0.0 ≤fraction≤ 1.0. |
If you are using Intel MKL in the AO mode, the mkl_mic_get_resource_limit function retrieves the fractional amount of Intel Xeon Phi coprocessor computational resources that can be used by the calling process.
Name |
Type |
Description |
---|---|---|
ierr |
int |
Result status: = 0 Indicates that the fraction is successfully returned. < 0 Indicates a failure to return the fraction. |