File tree Expand file tree Collapse file tree 1 file changed +1
-19
lines changed
Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change 1212#define XSIMD_ALIGN_HPP
1313
1414#include " xsimd_instruction_set.hpp"
15+ #include " xsimd_arch.hpp"
1516
1617/* ***********************************************
1718 * Platform checks for aligned malloc functions *
4243 #endif
4344#endif
4445
45- /* ********************
46- * Default alignment *
47- *********************/
48-
49- #if XSIMD_X86_INSTR_SET >= XSIMD_X86_AVX512_VERSION
50- #define XSIMD_DEFAULT_ALIGNMENT 64
51- #elif XSIMD_X86_INSTR_SET >= XSIMD_X86_AVX_VERSION
52- #define XSIMD_DEFAULT_ALIGNMENT 32
53- #elif XSIMD_X86_INSTR_SET >= XSIMD_X86_SSE2_VERSION
54- #define XSIMD_DEFAULT_ALIGNMENT 16
55- #elif XSIMD_ARM_INSTR_SET >= XSIMD_ARM8_64_NEON_VERSION
56- #define XSIMD_DEFAULT_ALIGNMENT 32
57- #elif XSIMD_ARM_INSTR_SET >= XSIMD_ARM7_NEON_VERSION
58- #define XSIMD_DEFAULT_ALIGNMENT 16
59- #else
60- // Set the default to the requirements of posix_memalign
61- #define XSIMD_DEFAULT_ALIGNMENT sizeof (void *)
62- #endif
63-
6446#endif
You can’t perform that action at this time.
0 commit comments