Reproducibility Conditions

To get reproducible results from run to run, ensure that the number of threads is fixed and constant. Specifically:

Strict CNR Mode

In strict CNR mode, oneAPI Math Kernel Library provides bitwise reproducible results for a limited set of functions and code branches even when the number of threads changes. These routines and branches support strict CNR mode (64-bit libraries only):

When using other routines or CNR branches,oneAPI Math Kernel Library operates in standard (non-strict) CNR mode, subject to the restrictions described above. Enabling strict CNR mode can reduce performance.

Reproducibility Conditions for Intel® GPUs

When CNR mode is enabled (any code branch other than OFF), oneMKL provides bitwise-reproducible results for a limited set of functions on Intel® GPUs:

Both the OpenMP* offload APIs and the DPC++ APIs support GPU CNR mode.

Reproducibility is guaranteed to run when the code is running on the same GPU, or between two GPUs with identical product names (for example, Intel® Arc™ A770).

Note

Product and Performance Information

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.

Notice revision #20201201

See Also