Re: Strange Performance Hit on 2D-Loop

2011-01-13 Thread Andreas Schäfer
:-) Best -Andreas On 16:19 Thu 09 Jul , Andreas Schäfer wrote: > Hey guys, > > I noticed a strange performance hit in one of our stencil codes, > causing it to run twice as long. > > To nail down the error, I reduced our code to the two attached demo > programs. Basic

Re: Strange Performance Hit on 2D-Loop

2009-07-09 Thread Andreas Schäfer
ink that the malloced address can > alias the global variables. AFAICS that doesn't really matter: I still get the same results, even if I remove printAddress(). -Andreas -- ======== Andreas Schäfer Cluster and Metacomputing Working Group Friedrich-Sc

Strange Performance Hit on 2D-Loop

2009-07-09 Thread Andreas Schäfer
-Andreas -- ==== Andreas Schäfer Cluster and Metacomputing Working Group Friedrich-Schiller-Universität Jena, Germany 0049/3641-9-46376 PGP/GPG key via keyserver I'm a bright... http://www.th