#include <omp.h>
int omp_get_num_procs();
#include <iostream>
#include <omp.h>
int main()
{
std::cout << "ichigosample: num. processors = "
<< omp_get_num_procs() << std::endl;
std::cout << "ichigosample: max. threads = "
<< omp_get_max_threads() << std::endl;
return 0;
}
ichigosample: num. processors = 4
ichigosample: max. threads = 4