On Wednesday 23 September 2015 05:02 PM, Shivam Malhotra wrote:
> Sir,
>
> Thank you so much for your quick reply.
> I have another issue that I wanted to clarify.
> Actually the j value that appears in xp[j][i] will only be used for
> reading and never for writing. So any dependency that can happen is RAR.
> Thus should not affect my code if I run these iterations in parallel.( I
> hope I am making sense, please correct me if I am wrong).
Yes, you are right.
> So is there any way to force CLAN to give a a polyhedral representation
> so that we can use that with Pluto?
It would be good if Clan can, but here's a workaround. If you have say
A[xp[j][i]], you can have the following outside the scop:
#define f(s) A[s]
and then just use f(xp[j][i]) in the scop. As you say, this will work
only if A is not being written to in the scop.
~ Uday
>
> Regards
> Shivam
> it, send an email to
clan-users+...@googlegroups.com <javascript:>.
> <
https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clan Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
clan-users+...@googlegroups.com
> <mailto:
clan-users+...@googlegroups.com>.
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <
http://www.mailscanner.info/>, and is
> believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.