numpy  2.0.0
src/private/npy_config.h File Reference
#include "config.h"
#include "numpy/numpyconfig.h"
#include "numpy/npy_cpu.h"
#include "numpy/npy_os.h"

Go to the source code of this file.

Defines

#define NPY_MAX_COPY_ALIGNMENT   16

Define Documentation

#define NPY_MAX_COPY_ALIGNMENT   16
largest alignment the copy loops might require required as string, void and complex types might get copied using larger instructions than required to operate on them. E.g. complex float is copied in 8 byte moves but arithmetic on them only loads in 4 byte moves. the sparc platform may need that alignment for long doubles. amd64 is not harmed much by the bloat as the system provides 16 byte alignment by default.