[foreign] Feature request: Scope.allocate*() with given alignment

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Thu Feb 28 16:30:26 UTC 2019


We have plans for that - the basic idea is to use special annotation in 
the underlying layout which will give the runtime hints on alignment.

Maurizio

On 28/02/2019 16:09, Lev Serebryakov wrote:
>   I'm sure, that foreign interface will be used A LOT to call
> high-performance mathematical code, it will be very useful to allocate
> arrays and buffers with specified alignment to allow usage of SIMD of
> different level. Looks like, now it is impossible to control alignment
> of allocation.
>


More information about the panama-dev mailing list