Vector API - Matrix Benchmark Contribution
Paul Sandoz
paul.sandoz at oracle.com
Wed Aug 16 21:01:35 UTC 2023
That looks good. I recommend:
- Removing the system property for VECTOR_ACCESS_OOB_CHECK
- The benchmark methods should return the result (JMH will send it down a blackhole)
- You may also want to remove the allocation of the result matrix (pass it in as a pre-allocated argument and return it), since what we are interested here is how this all optimizes for the loop structure.
The process is:
1. Sign the OCA https://oca.opensource.oracle.com/
2. Submit a PR to https://github.com/openjdk/jdk/, placing the class in test/micro/org/openjdk/bench/jdk/incubator/vector/
(Building the JDK and testing should be straightforward, for testing see https://github.com/openjdk/jdk/blob/master/doc/testing.md)
3. I can review/sponsor
Paul.
On Aug 11, 2023, at 12:24 AM, Martin Stypinski <mstypinski at gmail.com> wrote:
Hi all,
I started this thing a long time ago and wanted to actually contribute my matrix benchmark as suggested by Paul. I made some changes: https://gist.github.com/Styp/618cf9d139151727f46396235aff09a3
Paul; What do you think? And how does the process work?
Best
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20230816/d2cd9fd4/attachment.htm>
More information about the panama-dev
mailing list