Count the number of OpenMP threads for parallel computation
count_omp_thread() counts the number of OpenMP threads for parallel computation. If it returns 1, OpenMP is not viable.
count_omp_thread()
Number of OpenMP thread(s).
Useful links