AVX segmentation fault on linux [closed]
问题 Closed. This question needs debugging details. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Improve this question I am trying to run this code and it says segmentation fault when I run it. It compiles good. Here is the code. (It works fine on windows). #include<iostream> #include<vector> #include<immintrin.h> const int size = 1000000; std::vector<float>A(size); std::vector<float>B(size); std