"I'd probably take out the @Inline pragmas first and try again."
I was able to get the code to compile with -O by removing some of the
@Inline pragmas but I did not get as big of a performance improvement as I
had hoped.  Do you know how much of an impact having or not having the
@Inline pragmas should have on performance if each of the functions is
called only once?

"If this is lulesh, you could also go ahead and check it in so I could take
a look..."
Yes this is about lulesh.  I am having some permission issues with svn repo
at the moment but I email Vijay and hopefully I will be able to upload the
code tomorrow.  Once it's in the repo I'll send you link so you can take a
look.



On Wed, May 8, 2013 at 5:23 PM, David P Grove <gro...@us.ibm.com> wrote:

> Daniel Alexander Perlmutter <dap2...@columbia.edu> wrote on 05/07/2013
> 04:59:54 PM:
>
> >
> > "Is there something unusual (lots of @Inline pragmas?  Entire 3000
> > lines in a single file?)"
> >
> > Actually yes.  The code is based off of a large, single file, c++
> > program that makes heavy use of inlining so there are a lot of
> > @Inline pragmas.  The inlined functions are each called only once in
> > the main program so in theory it could be done without these
> > function at all by just creating larger methods but that would
> > create less clean code.  Also, I split the code into 2 files but
> > there are still more than 2000 lines of code in the primary file.
> >  Do you have any idea how to make the code easier for the compiler
> > to handle without incurring a significant performance impact?
> >
>
> I'd probably take out the @Inline pragmas first and try again.
>
> If this is lulesh, you could also go ahead and check it in so I could take
> a look...
>
> --dave
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> X10-users mailing list
> X10-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/x10-users
>
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to