fix(tulip): fix some SIMD issues

This commit is contained in:
2026-11-22 15:12:19 +01:00
parent 3a27df500e
commit f98615fea4
4 changed files with 11 additions and 9 deletions
+4 -2
View File
@@ -1,6 +1,10 @@
#ifndef TULIP_SIMD_CONFIG_HPP
#define TULIP_SIMD_CONFIG_HPP
#if defined(__AVX__) || defined(__AVX2__)
#include <immintrin.h>
#endif
namespace tulip {
namespace simd {
@@ -10,12 +14,10 @@ struct avx2_isa {};
#ifdef __AVX__
#define TULIP_AVX_SUPPORTED
#include <immintrin.h>
#endif // __AVX__
#ifdef __AVX2__
#define TULIP_AVX2_SUPPORTED
#include <immintrin.h>
#endif // __AVX2__
} // namespace simd