Re:Java and SIMD
by marmaduke on Tuesday June 27, 2017 @05:05PM
(#14649435)
Why not use some OpenCL in some form either raw or Aparapi?
[ Parent
| on HN ]
Crossing the JNI barrier is expensive performance-wise. Unless it's a longer running, CPU heavy calculation its usually best to stay in pure Java. There are some things that going out to another high performance framework will speed things up, but the bar is a bit higher because of the JNI overhead.