On Mon, 23 Aug 2021 23:18:28 GMT, Sandhya Viswanathan 
<sviswanat...@openjdk.org> wrote:

> This pull request adds a micro benchmark for Vector API.
> The Black Scholes algorithm is implemented with and without Vector API.
> We see about ~6x gain with Vector API for this micro benchmark using 256 bit 
> vectors.

test/micro/org/openjdk/bench/jdk/incubator/vector/BlackScholes.java line 138:

> 136:     }
> 137: 
> 138:     static final VectorSpecies<Float> fsp = FloatVector.SPECIES_256;

Can we use a more portable way instead of fixed size SPECIES_256?

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

PR: https://git.openjdk.java.net/jdk/pull/5234

Reply via email to