Returns the maximum value that can be returned by a call to the OMP_GET_NUM_THREADS function.
INTEGER FUNCTION OMP_GET_MAX_THREADS()
Notes & Restrictions:
Generally reflects the number of threads as set by the OMP_NUM_THREADS environment variable or the OMP_SET_NUM_THREADS() library routine.
May be called from both serial and parallel regions of code.
Lawrence Livermore National Laboratory
7000 East Avenue • Livermore, CA 94550 | LLNL-WEB-458451
Operated by the Lawrence Livermore National Security, LLC for the
Department of Energy's National Nuclear Security Administration
Learn about the Department of Energy's Vulnerability Disclosure Program