Modify the Hello World program, so that it uses
omp_get_num_threads()
and omp_get_thread_num()
library functions.
Print out the total number of active threads as well as the ID of each thread.
Modify the Hello World program, so that it uses
omp_get_num_threads()
and omp_get_thread_num()
library functions.
Print out the total number of active threads as well as the ID of each thread.