[Openmp-dev] Dependency length in taskdeps

Hahnfeld, Jonas via Openmp-dev openmp-dev at lists.llvm.org
Mon Nov 7 23:07:40 PST 2016


Hi Victor,

 

one restriction of “2.13.9 depend Clause” says:

“List items used in depend clauses of the same task or sibling tasks must indicate identical storage locations or disjoint storage locations.”

 

I think this means that array sections in the depend clauses must not overlap unless they are completely the same. So it is an optimization to only compare the base address because if the lengths don’t match, the program is non-conforming anyway.

 

Cheers,

Jonas

 

From: Openmp-dev [mailto:openmp-dev-bounces at lists.llvm.org] On Behalf Of Victor Campos via Openmp-dev
Sent: Tuesday, November 08, 2016 1:46 AM
To: openmp-dev at lists.llvm.org
Subject: [Openmp-dev] Dependency length in taskdeps

 

Hi,

I have a question about dependency tracking in kmp_taskdeps.cpp.

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.

Am I missing something or is this a feature not yet implemented?

Regards,

Victor.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20161108/25e1388e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5868 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20161108/25e1388e/attachment.bin>


More information about the Openmp-dev mailing list