For combined parallel loop constructs, the master task launches an outlined function directly from the runtime. In such cases, the OMPT frame object for the master task needs to have its exit_frame field set before the outlined function is called. This patch corrects an omission in the OMPT support
Details
Details
Diff Detail
Diff Detail
- Repository
- rOMP OpenMP
Event Timeline
Comment Actions
Please provide test cases, so that we can understand the impact of this change.
runtime/src/kmp_gsupport.cpp | ||
---|---|---|
1094 | inner_frame resolves to the same address as parent_frame in line 1087, so you could just use this variable. The task executing the loop body is still the same task as the task executing the parallel region. | |
1096 | This will overwrite the value written, when the parallel region begins. |
inner_frame resolves to the same address as parent_frame in line 1087, so you could just use this variable.
The task executing the loop body is still the same task as the task executing the parallel region.