This patch allows to simplify compiler implementation on "taskwait nowait" construct.
The "taskwait nowait" is semantically equivalent to the empty task.
Instead of creating an empty routine as a task entry, compiler can just send NULL pointer to the runtime.
Then the runtime will make all the work with dependences and return because of the absent task routine.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I already know, that OMPD folks will not be happy about this implementation. Nevertheless, it is a valid and better implementation than before.
Regarding OMPT implementation: since you are not calling into the application anymore, this case should now really use ompt_taskwait_complete rather than switching to the taskwait task and back.