Debian Codegraph @

libgomp/testsuite/libgomp.c-c++-common/matrix-omp-target-teams-distribute-parallel-for-1.c

raw
1 /* This test appears to have too much parallelism to run without a GPU. */
2 /* { dg-do run { target { offload_device } } } */
3 /* { dg-additional-options "-Wall -Wno-unknown-pragmas" } */
4
5 #define COMMON_DIRECTIVE omp target teams distribute parallel for map(tofrom:result[:dim0 * dim1]) map(to:matrix1[0:dim0 * dim1], matrix2[0:dim0 * dim1])
6 #define COLLAPSE_1 collapse(1)
7 #define COLLAPSE_2 collapse(2)
8 #define COLLAPSE_3
9
10 #include "matrix-transform-variants-1.h"