clang/tests/libomp/openmp-compile-link-test.c

9 lines
166 B
C
Raw Normal View History

2021-02-10 13:48:42 +00:00
#include <omp.h>
#include <stdio.h>
int main(int argc, char **argv) {
int nthreads = omp_get_num_threads();
printf("Num Threads: %d\n", nthreads);
return 0;
}