[llvm-dev] [Openmp-dev] omp_get_thread_limit default

Simone Atzeni via llvm-dev llvm-dev at lists.llvm.org
Wed Feb 21 17:16:25 PST 2018


Hi,

calling "omp_get_thread_limit", either inside or outside a parallel region, it returns MAX_INT (2147483647) when OMP_THREAD_LIMIT is not set.

Is that the correct/default behavior for that function?

Thanks.
Simone

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180222/3539101c/attachment.html>


More information about the llvm-dev mailing list