On 19-02-2017 10:36, 'Hrishikesh Vaidya' via Clan Development wrote:
> Hi,
> I am facing a problem while using PLUTO for optimizing my code. It
> gives an error message and I am unable to figure out the reason. I am
> attaching the section of code "SAMPLE.CPP" which is giving error when
> passing through pluto. The error message generated is:
>
> [Clan] Error: syntax error at line 8, column 15.
> Error extracting polyhedra from source file: 'sample.cpp'
>
> The version of PLUTO being used is :
>
> PLUTO 0.11.4-54-ga372de9 - An automatic parallelizer and locality
> optimizer
> Copyright (C) 2007--2015 Uday Bondhugula
> This is free software; see the source for copying conditions. There
> is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
clan is unable to extract min(max(k * 1 + i * 2, 0), 7) and min(max(l *
1 + j * 2, 0), 7) as piece-wise affine functions of i, j, k, l (note
that these expressions aren't affine in i, j, k, l). This code works
when the pet frontend is used with Pluto (--pet). Additional support may
have to be built into Clan to recognize these.
Thanks,
~ Uday
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clan Development" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
clan-developme...@googlegroups.com.
> For more options, visit MAILSCANNER HAS DETECTED DEFINITE FRAUD IN THE
> WEBSITE AT "
GROUPS.GOOGLE.COM". DO _NOT_ TRUST THIS WEBSITE:
>
https://groups.google.com/d/optout [1].
>
> --
> This message has been scanned for viruses and
> dangerous content by MAILSCANNER [2], and is
> believed to be clean.
>
> Links:
> ------
> [1]
https://groups.google.com/d/optout
> [2]
http://www.mailscanner.info/