tambapps / fourier-transform-library

A FFT library written in Java
MIT License
12 stars 1 forks source link

Java 16 SIMD support for faster lib #2

Open eix128 opened 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 etc..

It will be good to fit fourier-transform-library to new Java 16's Vector API

tambapps commented 2 years ago

Hello sorry for the delay. It would be fun to use this Java Vector API, I'll try to work something with it in the next weeks

tambapps commented 2 years ago

So after having a look at the API and re-read the Fourier formula, I have to say my math skills are a little rusty. I wouldn't even know how to represent a complex number in FloatVectors or DoubleVectors

If you have any leads for me, please feel free to share them