[Openmp-commits] [PATCH] D132005: [OpenMP] Add non-blocking support for target nowait regions

Guilherme Valarini via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Oct 20 08:25:23 PDT 2022


gValarini added a comment.

@jdoerfert I believe the new revision has a better code structure for the dispatch and synchronize stages. Now we have an exclusive function only for synchronization. No more `Dispatch` checks!

@tianshilei1992 I am still checking on the validity of the returned GTID from `__kmpc_global_thread_num` when called from outside an OpenMP thread. The best solution would be to pass the address of the `taskdata` async handle through the interface for the `*_nowait` functions directly as a new parameter, but that would require changes to the code generation step. I can do that right now, but I would prefer to change the clang code generation on a different patch, as I am not that familiar with it. What do you think?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132005/new/

https://reviews.llvm.org/D132005



More information about the Openmp-commits mailing list