blob: 26e935b3673028161695dacd9c51655c8190c1e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <omp.h>
#include <stdlib.h>
int
main ()
{
omp_set_dynamic (0);
#pragma omp parallel num_threads (4)
#pragma omp target if (0)
#pragma omp single
if (omp_get_num_threads () != 1)
abort ();
return 0;
}
|