mirror of
https://github.com/intel/llvm.git
synced 2026-01-14 11:57:39 +08:00
Detect final task in GOMP interface.
llvm-svn: 250198
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user