Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The omp_get_num_procs function returns the number of processors that are available to the program at the time the function is called. The format is as follows:
#include <omp.h>
int omp_get_num_procs(void);