Segmentation fault when trying to use intrinsics specifically _mm256_storeu_pd()
问题 Seemed to have fixed it myself by type casting the cij2 pointer inside the mm256 call so _mm256_storeu_pd((double *)cij2,vecC); I have no idea why this changed anything... I'm writing some code and trying to take advantage of the Intel manual vectorization. But whenever I run the code I get a segmentation fault on trying to use my double *cij2. if( q == 0) { __m256d vecA; __m256d vecB; __m256d vecC; for (int i = 0; i < M; ++i) for (int j = 0; j < N; ++j) { double cij = C[i+j*lda]; double