<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Manoel,<div class=""><br class=""></div><div class="">You could refer to <a href="https://reviews.llvm.org/D77609" class="">https://reviews.llvm.org/D77609</a> and <a href="https://reviews.llvm.org/D78075" class="">https://reviews.llvm.org/D78075</a> for more design details. :-)</div><div class=""><br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div>Regards,<br class="">Shilei<br class=""></div></div>

</div>

<div><br class=""><blockquote type="cite" class=""><div class="">On Sep 14, 2020, at 5:34 PM, Johannes Doerfert <<a href="mailto:johannesdoerfert@gmail.com" class="">johannesdoerfert@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi Manoel,<br class=""><br class="">Shilei (CC'ed) has a proper implementation of target nowait, for now we basically implement it synchronously.<br class=""><br class="">The reviews are online and Shilei will share the links. Feel free to join our weekly meeting [1] to as we discuss it there as well.<br class=""><br class="">~ Johannes<br class=""><br class="">[1] <a href="https://docs.google.com/document/d/1Tz8WFN13n7yJ-SCE0Qjqf9LmjGUw0dWO9Ts1ss4YOdg/edit?usp=sharing" class="">https://docs.google.com/document/d/1Tz8WFN13n7yJ-SCE0Qjqf9LmjGUw0dWO9Ts1ss4YOdg/edit?usp=sharing</a><br class=""><br class=""><br class="">On 9/14/20 3:03 PM, Römmer, Manoel via Openmp-dev wrote:<br class=""><blockquote type="cite" class="">Hi everyone,<br class=""><br class="">I'm looking into the use of `nowait` with target regions and I have some questions about the implementation in libomptarget, maybe someone here can help me with some details.<br class=""><br class="">Libomptarget has an optional async interface, for plugins to implement. I orignally expected, that nowait target regions would be implemented with a call to __tgt_run_target_region_async(), but the implementation in libomptarget seems to always use the async interface when available (even for blocking target region executions) and always tries to synchronize after a target region is executed.<br class=""><br class="">Can someone tell me if I got this right and how a `#pragma omp target nowait` is handled by the openmp runtime?<br class=""><br class=""><br class="">Thanks,<br class=""><br class="">Manoel Römmer<br class="">_______________________________________________<br class="">Openmp-dev mailing list<br class=""><a href="mailto:Openmp-dev@lists.llvm.org" class="">Openmp-dev@lists.llvm.org</a><br class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev<br class=""></blockquote></div></div></blockquote></div><br class=""></div></body></html>