ippSetNumThreads

Sets the number of threads in the multithreading environment.

Syntax

IppStatus ippSetNumThreads(int numThr);

Parameters

numThr

Number of threads, should be greater than 0.

Description

The function ippSetNumThreads is declared in the ippcore.h file. This function sets the number of OMP threads. A number of established threads may be less than specified numThr.

Return Values

ippStsNoErr

Indicates no error.

ippStsSizeErr

Indicates an error condition if numThr is less than or equal to 0.

ippStsNoOperation

Indicates that there is no such operation in the static version of the library.

Submit feedback on this help topic

Copyright © 2000 - 2010, Intel Corporation. All rights reserved.