/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:84:21: warning: unused variable 'matrixCWTPtr' [-Wunused-variable]
     Matrix::matrix *matrixCWTPtr = &matrixCWT;
                     ^~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:41:0,
                 from /in/foo.cc:7:
/usr/lib/gcc/x86_64-linux-gnu/6/include/avxintrin.h: In function 'void matrixmult(Matrix::matrix*, Matrix::matrix*, Matrix::matrix*, int, int)':
/usr/lib/gcc/x86_64-linux-gnu/6/include/avxintrin.h:695:1: error: inlining failed in call to always_inline '__m128 _mm_broadcast_ss(const float*)': target specific option mismatch
 _mm_broadcast_ss (float const *__X)
 ^~~~~~~~~~~~~~~~
/in/foo.cc:57:48: note: called from here
             __m128 sum = _mm_broadcast_ss(&zero);
                                                ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:41:0,
                 from /in/foo.cc:7:
/usr/lib/gcc/x86_64-linux-gnu/6/include/avxintrin.h:695:1: error: inlining failed in call to always_inline '__m128 _mm_broadcast_ss(const float*)': target specific option mismatch
 _mm_broadcast_ss (float const *__X)
 ^~~~~~~~~~~~~~~~
/in/foo.cc:60:75: note: called from here
                 __m128 a = _mm_broadcast_ss(Aptr->matrix + Aptr->n * i + j);
                                                                           ^

信息

递交者
类型
递交
题目
P1000 A+B Problem
语言
C++
递交时间
2021-07-01 23:55:14
评测时间
2021-07-01 23:55:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes