Does LLVM OpenMP reuse threads by pooling?

Hi,
I've read the link

that says the thread pooling technique may be used by OpenMP implementation.
Does LLVM's OpenMP implemented this?

Thank you,
J

[moving to openmp-dev]

> Does LLVM's OpenMP implemented this?

As LLVM's OpenMP uses Intel's runtime library now, it re-uses threads when possible.

There could be introduced execution modes that require to destroy threads after each
parallel region in future OpenMP standards, but currently OpenMP threads
are created once for the lifetime of the application with no ability to destroy them.

And I'd guess that any OpenMP implementation behaves same way.

Regards,
Andrey

Does LLVM’s OpenMP implemented this?

As LLVM’s OpenMP uses Intel’s runtime library now, it re-uses threads when possible.

There could be introduced execution modes that require to destroy threads after each
parallel region in future OpenMP standards, but currently OpenMP threads
are created once for the lifetime of the application with no ability to destroy them.

And I’d guess that any OpenMP implementation behaves same way.

Does the Intel’s library work for also Windows?

Thank you,

Does the Intel’s library work for also Windows?

Yes it does.

  • Andrey