haifengl / smile

Statistical Machine Intelligence & Learning Engine
https://haifengl.github.io
Other
6.02k stars 1.13k forks source link

Smile update for Java 16 SIMD #669

Closed eix128 closed 3 years ago

eix128 commented 3 years ago

Hi , Java 16 has released Vector API

You can look at the links for details: https://metebalci.com/blog/what-is-new-in-java-16/ https://openjdk.java.net/jeps/338

Java 16's SIMD API has intrinsic capability. Much faster then JNI.That directly converts these method calls to ARM NEON or AVX512 , RiscV simd etc..

It will be good to fit smile to new Java 16's Vector API

haifengl commented 3 years ago

That feature is far from mature and API is changing across releases. We won't use it in near future.