[foreign] Feature request: Scope.allocate*() with given alignment
Lev Serebryakov
lev at serebryakov.spb.ru
Thu Feb 28 17:31:05 UTC 2019
On 28.02.2019 19:30, Maurizio Cimadamore wrote:
> 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.
What do you mean by underlying layout here?
For example, AVX512 code needs `Array<Float>` but aligned at 64 byte
boundary, when natural `Float` alignment is only 4 bytes.
--
// Black Lion AKA Lev Serebryakov
More information about the panama-dev
mailing list