Skip to content

Allocate aligned memory

Sebastian Ohlmann requested to merge allocate_aligned_memory into develop

Description

For runs on the CPU, the memory for the batches of the wavefunctions in the states is now allocated in an aligned way. The alignment is chosen according to the vectorization recognized at configure time. This improves vectorized instructions, especially for the finite difference kernels where vector instuction intrinsics are used.

This MR depends on MR !669 (merged).

News snippet

Improve vectorization by allocating aligned memory.

Checklist

Edited by Martin Lueders

Merge request reports