1 // RUN: %libomp-compile && env KMP_ENABLE_TASK_THROTTLING=0 %libomp-run
3 // This test is known to be fragile on NetBSD kernel at the moment,
4 // https://bugs.llvm.org/show_bug.cgi?id=42020.
7 // Very flaky on openmp-clang-x86_64-linux-debian.
8 // https://bugs.llvm.org/show_bug.cgi?id=45397
15 // The first hashtable static size is 997
21 int *deps
= calloc(NUM_DEPS
, sizeof(int));
28 for (i
= 0; i
< NUM_DEPS
; i
++) {
29 #pragma omp task firstprivate(i) depend(inout: deps[i])
33 #pragma omp task firstprivate(i) depend(inout: deps[i])
40 for (i
= 0; i
< NUM_DEPS
; i
++) {