BLAS and Vector API
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Mon Jan 4 16:22:23 UTC 2021
On 04/01/2021 14:52, Samuel Audet wrote:
> Hi, Ludovic,
>
> On 1/4/21 10:48 PM, Ludovic Henry wrote:
>> I’ll also explore using the Foreign Linker API to wrap the OpenBLAS
>> library without going through JNI. I’m curious whether it’s going to
>> lead to performance improvements.
>
> No, not yet, it won't, since that still uses JNI:
> https://github.com/microsoft/onnxruntime/pull/4329#issuecomment-673848183
Where did you get this information from? The comment you quote shows my
reply and then you somehow (erroneously) inferring that the linker API
is based on JNI.
The Foreign Linker API support has very little to do with JNI support.
Of course, since some of the stuff the VM has to do to go from Java to
native are the same, performances might not be too different (unless
state transitions are removed, which is possible with the linker API).
Maurizio
>
> Samuel
More information about the panama-dev
mailing list