]>
git.ipfire.org Git - thirdparty/gcc.git/blob - libgomp/testsuite/libgomp.c/pr99555-1.c
bd33b93716bf6c426c503a99970dc003b06e85e5
1 // PR99555 "[OpenMP/nvptx] Execution-time hang for simple nested OpenMP 'target'/'parallel'/'task' constructs"
3 // { dg-additional-options "-O0" }
5 #include <unistd.h> // For 'alarm'.
7 #include "../libgomp.c-c++-common/on_device_arch.h"
11 if (on_device_arch_nvptx ())
12 alarm (4); /*TODO Until resolved, make sure that we exit quickly, with error status.
13 { dg-xfail-run-if "PR99555" { offload_device_nvptx } } */
16 #pragma omp parallel // num_threads(1)