clang/tests/libomp/openmp-compile-link-test.c
Tom Stellard 50d4f87e06 12.0.0 Release
Related: rhbz#1928132
2021-05-10 17:56:28 -07:00

9 lines
166 B
C

#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;
}