Implementation of OpenMP 5.2 omp_in_explicit_task().
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
openmp/runtime/src/kmp_ftn_entry.h | ||
---|---|---|
1574 | Is this code sufficient for all scenarios of lazily initialized OpenMP threads? | |
openmp/runtime/test/api/omp_in_explicit_task.c | ||
33 | Would it make sense to test different kinds of tasks, like undeferred (and detachable) tasks, instead of two simple tasks? |
openmp/runtime/src/kmp_ftn_entry.h | ||
---|---|---|
1574 | The __kmp_entry_gtid() initializes the library if needed and initializes the calling thread including its implicit task. | |
openmp/runtime/test/api/omp_in_explicit_task.c | ||
33 | I doubt an explicit task can become implicit in future. That would be very strange. And we can always adjust the test in future, or write a new one for some particular case. |
Is this code sufficient for all scenarios of lazily initialized OpenMP threads?
Should this function handle uninitialized