[Openmp-commits] [PATCH] D104418: [PoC][WIP][OpenMP][Offloading] Fixed data race in libomptarget caused by async data movement

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Jun 16 14:06:37 PDT 2021


JonChesterfield added a comment.

This seems very coarse. If we want to schedule one task after another, we should use an API that adds that dependency edge. Using one for 'wait until everything is done, then continue' means as soon as one of those is scheduled, unrelated tasks slow down.

Is this only applicable per-async-object, and thus only affects a single async sequence?

Our async API could do with some cleanup and documentation to define what the constraints on it are.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104418



More information about the Openmp-commits mailing list