VecCore
0.8.1
C++ Library for Portable SIMD Vectorization
Loading...
Searching...
No Matches
SIMD.h
Go to the documentation of this file.
1
#ifndef VECCORE_SIMD_H
2
#define VECCORE_SIMD_H
3
4
#if defined(VECCORE_X64) || defined(VECCORE_X86)
5
# ifdef _MSC_VER
6
# include <intrin.h>
7
# else
8
# include <x86intrin.h>
9
# endif
10
#endif
11
12
#if defined(__AVX512F__) || defined(__MIC__)
13
#define VECCORE_SIMD_ALIGN 64
14
#elif defined(__AVX__)
15
#define VECCORE_SIMD_ALIGN 32
16
#else
17
#define VECCORE_SIMD_ALIGN 16
18
#endif
19
20
#endif
VecCore
SIMD.h
Generated by
1.9.6