<div dir="ltr"><div><div>Thanks for the answers!<br><br></div>I was planning on implementing support for array lengths, but it seems not necessary since the current library is following the specification correctly.<br><br></div>Victor.<br><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2016-11-08 6:23 GMT-08:00 Cownie, James H <span dir="ltr"><<a href="mailto:james.h.cownie@intel.com" target="_blank">james.h.cownie@intel.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="#0563C1" vlink="#954F72" lang="EN-GB">
<div class="m_2154474107772449052WordSection1">
<p class="MsoNormal"><a name="m_2154474107772449052__MailEndCompose"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1f497d">Victor,<u></u><u></u></span></a></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1f497d">What you are missing is that the way that task dependencies are defined in OpenMP means that the only thing that matters is the base
 address. Therefore there is no need to consider the length at runtime. (In effect the address is just a unique identifier which is easy to create, it has no real semantic content beyond that).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1f497d">-- Jim<br>
<br>
James Cownie <<a href="mailto:james.h.cownie@intel.com" target="_blank">james.h.cownie@intel.com</a>><br>
SSG/DPD/TCAR (Technical Computing, Analyzers and Runtimes)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1f497d">Tel: <a href="tel:%2B44%20117%209071438" value="+441179071438" target="_blank">+44 117 9071438</a></span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US"> Openmp-dev [mailto:<a href="mailto:openmp-dev-bounces@lists.llvm.org" target="_blank">openmp-dev-bounces@<wbr>lists.llvm.org</a>]
<b>On Behalf Of </b>Victor Campos via Openmp-dev<br>
<b>Sent:</b> Tuesday, November 8, 2016 12:46 AM<span class=""><br>
<b>To:</b> <a href="mailto:openmp-dev@lists.llvm.org" target="_blank">openmp-dev@lists.llvm.org</a><br>
<b>Subject:</b> [Openmp-dev] Dependency length in taskdeps<u></u><u></u></span></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi,<u></u><u></u></p>
</div><div><div class="h5">
<p class="MsoNormal" style="margin-bottom:12.0pt">I have a question about dependency tracking in kmp_taskdeps.cpp.<u></u><u></u></p>
</div></div></div><div><div class="h5">
<p class="MsoNormal" style="margin-bottom:12.0pt">I see that dependency edges are created between nodes based on the base address (base_addr) of the dependency. However, I don't see the length (len) being taken into consideration to determine node connections.<u></u><u></u></p>
</div></div></div><div><div class="h5">
<p class="MsoNormal" style="margin-bottom:12.0pt">Am I missing something or is this a feature not yet implemented?<u></u><u></u></p>
</div></div></div>
<p class="MsoNormal" style="margin-bottom:10.0pt">Regards,<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:10.0pt">Victor.<u></u><u></u></p>
</div>
</div>
<p>------------------------------<wbr>------------------------------<wbr>---------<br>
Intel Corporation (UK) Limited<br>
Registered No. 1134945 (England)<br>
Registered Office: Pipers Way, Swindon SN3 1RJ<br>
VAT No: 860 2173 47</p>

<p>This e-mail and any attachments may contain confidential material for<br>
the sole use of the intended recipient(s). Any review or distribution<br>
by others is strictly prohibited. If you are not the intended<br>
recipient, please contact the sender and delete all copies.</p></div>

</blockquote></div><br></div></div></div></div></div>