[vectorIntrinsics] Integrated: 8263149: Adding some algorithms optimized by Vector API into JMH benc…

Wang Zhuo wzhuo at openjdk.java.net
Mon Mar 8 03:24:21 UTC 2021


On Mon, 8 Mar 2021 03:06:40 GMT, Wang Zhuo <wzhuo at openjdk.org> wrote:

> Here are some tests for Vector API JMH benchmarks.
> These code came our work on optimizing Alibaba applications with Vector API.
> VectorDistance contains Cosine distance and Euclidean Distance. The two distance algorithms are widely used in ElasticSearch, you can find opensource code here: github.com/opendistro-for-elasticsearch/k-NN/blob/aa5d1d40b136e2b3d33a14e80a2a374b2be015f9/src/main/java/com/amazon/opendistroforelasticsearch/knn/plugin/script/KNNScoringUtil.java#L61
> 
> BooleanArrayCheck and ValueRangeCheckAndCastL2I were developed during our optimization on OLAP systems.
> 
> Please help review this change.
> 
> Co-authored-by: Joshua Zhu <jzhu at openjdk.org>

This pull request has now been integrated.

Changeset: 97fef5c0
Author:    Wang Huang <whuang at openjdk.org>
Committer: Ningsheng Jian <njian at openjdk.org>
URL:       https://git.openjdk.java.net/panama-vector/commit/97fef5c0
Stats:     157 lines in 5 files changed: 83 ins; 4 del; 70 mod

8262492: Add cast nodes between float types implementation for Arm SVE

Co-authored-by: Wang Huang <whuang at openjdk.org>
Co-authored-by: He Xuejin <hexuejin2 at huawei.com>
Co-authored-by: Ai Jiaming <aijiaming1 at huawei.com>
Reviewed-by: njian

-------------

PR: https://git.openjdk.java.net/panama-vector/pull/44


More information about the panama-dev mailing list