1
0
Fork 0
Univerxel/deps/FastNoise2/src/FastSIMD/FastSIMD_Level_AVX2.cpp

17 lines
608 B
C++

#include "FastSIMD/FastSIMD.h"
#if FASTSIMD_COMPILE_AVX2
// To compile AVX2 support enable AVX(2) code generation compiler flags for this file
#ifndef __AVX__
#ifdef _MSC_VER
#error To compile AVX set C++ code generation to use /arch:AVX on FastSIMD_Level_AVX2.cpp, or change "#define FASTSIMD_COMPILE_AVX2" in FastSIMD_Config.h
#else
#error To compile AVX add build command "-march=core-avx" on FastSIMD_Level_AVX2.cpp, or change "#define FASTSIMD_COMPILE_AVX2" in FastSIMD_Config.h
#endif
#endif
#include "Internal/AVX.h"
#define FS_SIMD_CLASS FastSIMD::AVX2
#include "Internal/SourceBuilder.inl"
#endif