Skip to content

Commit

Permalink
fix ODR in avx2 code
Browse files Browse the repository at this point in the history
  • Loading branch information
kwsp committed Jan 4, 2025
1 parent f3f49ed commit 90a6d65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fftconv/fftconv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ inline void multiply_cx_neon_f32(std::span<const std::complex<float>> cx1,

#include <immintrin.h>

__m256d mult_c128_avx2(__m256d vec1, __m256d vec2) {
inline __m256d mult_c128_avx2(__m256d vec1, __m256d vec2) {
// vec1 and vec2 each have 2 128bit complex
const __m256d neg = _mm256_setr_pd(1.0, -1.0, 1.0, -1.0);

Expand Down

0 comments on commit 90a6d65

Please sign in to comment.