[PATCH] D41942: [OMPT] Add interoperability testcase

Joachim Protze via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 23 12:19:38 PST 2018


protze.joachim added a comment.

The idea was that the WAIT in line 11 should ensure that both initial threads arrived. 
But actually the runtime is not initialized before line 11. To fix the race, we need to call into the runtime in a way, that makes both threads initial threads before the SIGNAL in line 9.

The WAIT in line 16 is to ensure that both worker threads are recruited separately. Not sure whether it would be possible that the same thread is recruited by both initial threads.


Repository:
  rL LLVM

https://reviews.llvm.org/D41942





More information about the llvm-commits mailing list