VectorAPI Testing Infrastructure custom loop trip count
Lupusoru, Razvan A
razvan.a.lupusoru at intel.com
Thu Apr 5 18:04:42 UTC 2018
Initial tests I created locally for Vector API were done using a mix of both techniques - namely both an outer loop repeating the computation body loop and multiple invocation counts. This was done to ensure tests run for an adequate amount of time to allow compilation to happen while also allowing exercising of both on-stack replacements and whole method computation of code with Vector API. Thus I still have some preference for multiple invocation counts but I think we could probably do without. That said, I worry that the current trip count of 10 is too small and won't have the same chances of successful compilation as 10 invocations - I do like that it can be changed dynamically but I wonder if we can select a higher default, like 100.
From: panama-dev [mailto:panama-dev-bounces at openjdk.java.net] On Behalf Of Paul Sandoz
Sent: Thursday, April 05, 2018 8:29 AM
To: Halimi, Jean-Philippe <jean-philippe.halimi at intel.com>
Cc: panama-dev at openjdk.java.net
Subject: Re: VectorAPI Testing Infrastructure custom loop trip count
> On Apr 5, 2018, at 7:40 AM, Halimi, Jean-Philippe <jean-philippe.halimi at intel.com> wrote:
> Sorry for the delayed answer. I totally agree. For some reason, I
> assumed that the iterations had some kind of write dependencies but you are right, they don’t. J I have merged the original patch and I have rebased this latest revision with the fixes you suggested.
> As for the compare tests, I agree. If I recall correctly, @Razvan made these tests this way for one specific reason. Any thoughts Razvan?
More information about the panama-dev