Debian Codegraph @

gcc/testsuite/gcc.dg/gomp/metadirective-1.c

raw
1 int main (void)
2 {
3 int x, y;
4
5 /* Test nested functions inside statement body. */
6 #pragma omp metadirective \
7 when (device={arch("nvptx")}: teams num_teams(512)) \
8 when (device={arch("gcn")}: teams num_teams(256)) \
9 default (teams num_teams(4))
10 {
11 int f (int x) { return x * 3; }
12
13 y = f (x);
14 }
15 }