[Openmp-dev] What is the purpose of this debug assertion KMP_DEBUG_ASSERT(dep->flags.in) if it is not a bug

Sergi Mateo Bellido via Openmp-dev openmp-dev at lists.llvm.org
Wed Dec 13 11:48:05 PST 2017


Hi Yonghong,

 There is no difference between an inout and an out dependence in OpenMP, they have exactly the same semantics. I'd say that this assert is there because all output dependences are transformed into inout depedences by the compiler. 

Best regards,
Sergi

On December 13, 2017 8:04:49 PM GMT+01:00, Yonghong Yan via Openmp-dev <openmp-dev at lists.llvm.org> wrote:
>So basically any OUT dependency will fail the runtime?
>
>https://github.com/llvm-mirror/openmp/blob/master/runtime/src/kmp_taskdeps.cpp#L252
>
>Thank you!
>Yonghong


http://bsc.es/disclaimer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20171213/449e45dd/attachment.html>


More information about the Openmp-dev mailing list