Developer Guide

Setting Number of Threads

By default, the number of threads for Intel IPP Cryptography threaded libraries follows the OpenMP* default, which is the number of logical processors visible to the operating system. If the value of the
OMP_NUM_THREADS
environment variable is less than the number of processors, then the number of threads for Intel IPP Cryptography threaded libraries equals the value of the
OMP_NUM_THREADS
environment variable.
To configure the number of threads used by Intel IPP Cryptography internally, at the very beginning of an application call the
ippcpSetNumThreads(n)
function, where
n
is the desired number of threads (1, ...). To disable internal parallelization, call the
ippcpSetNumThreads(1)
function.

Getting Information on Number of Threads

To find the number of threads created by the Intel IPP Cryptography, call the
ippcpGetNumThreads
function.
Product and Performance Information
Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.
Notice revision #20201201

Product and Performance Information

1

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