diff options
| -rw-r--r-- | openmp/runtime/src/kmp_gsupport.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openmp/runtime/src/kmp_gsupport.c b/openmp/runtime/src/kmp_gsupport.c index 48487a3..2a89aa2 100644 --- a/openmp/runtime/src/kmp_gsupport.c +++ b/openmp/runtime/src/kmp_gsupport.c @@ -940,6 +940,10 @@ xexpand(KMP_API_NAME_GOMP_TASK)(void (*func)(void *), void *data, void (*copy_fu if (gomp_flags & 1) { input_flags->tiedness = 1; } + // The second low-order bit is the "final" flag + if (gomp_flags & 2) { + input_flags->final = 1; + } input_flags->native = 1; // __kmp_task_alloc() sets up all other flags |
