[vectorIntrinsics] RFR: 8263149: Adding some algorithms optimized by Vector API into JMH benc… [v3]
Wang Zhuo
wzhuo at openjdk.java.net
Fri Mar 12 03:07:46 UTC 2021
> Here are some code samples for panama-vector vectorIntrinsics JMH benchmarks.
> These code were developed during our work on optimizing Alibaba applications with Vector API.
> VectorDistance contains Cosine distance and Euclidean distance, scalar code from
> https://github.com/opendistro-for-elasticsearch/k-NN/blob/aa5d1d40b136e2b3d33a14e80a2a374b2be015f9/src/main/java/com/amazon/opendistroforelasticsearch/knn/plugin/script/KNNScoringUtil.java#L61
> In many scenarios, ElasticSearch engineers reported more than 4X E2E speedup using Vector API.
>
> BooleanArrayCheck and ValueRangeCheckAndCastL2I were from OLAP applications.
>
> Co-authored-by: Joshua Zhu <jzhu at openjdk.org>
Wang Zhuo has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
8263149: Adding some algorithms optimized by Vector API into JMH benchmarks
Co-authored-by: Joshua Zhu <jzhu at openjdk.org>
-------------
Changes:
- all: https://git.openjdk.java.net/panama-vector/pull/45/files
- new: https://git.openjdk.java.net/panama-vector/pull/45/files/8573dbca..d8a21af0
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=panama-vector&pr=45&range=02
- incr: https://webrevs.openjdk.java.net/?repo=panama-vector&pr=45&range=01-02
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/panama-vector/pull/45.diff
Fetch: git fetch https://git.openjdk.java.net/panama-vector pull/45/head:pull/45
PR: https://git.openjdk.java.net/panama-vector/pull/45
More information about the panama-dev
mailing list