Borderou de evaluare (job #3296665)

Utilizator NutaAlexandruASN49K NutaAlexandru Data 15 mai 2025 11:04:45
Problema Single Instruction Multiple Data Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void multiply()': main.cpp:19:48: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi] 19 | __m256i sum = _mm256_setzero_si256(); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include/immintrin.h:43, from main.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include/avxintrin.h:1242:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_setzero_si256()': target specific option mismatch 1242 | _mm256_setzero_si256 (void) | ^~~~~~~~~~~~~~~~~~~~ main.cpp:19:47: note: called from here 19 | __m256i sum = _mm256_setzero_si256(); | ~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include/immintrin.h:47: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include/avx2intrin.h:112:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_add_epi16(__m256i, __m256i)': target specific option mismatch 112 | _mm256_add_epi16 (__m256i __A, __m256i __B) | ^~~~~~~~~~~~~~~~ main.cpp:31:39: note: called from here 31 | sum = _mm256_add_epi16(sum, prod); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include/avx2intrin.h:553:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_mullo_epi16(__m256i, __m256i)': target specific option mismatch 553 | _mm256_mullo_epi16 (__m256i __A, __m256i __B) | ^~~~~~~~~~~~~~~~~~ main.cpp:28:50: note: called from here 28 | __m256i prod = _mm256_mullo_epi16(a_vec, b_vec); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include/avxintrin.h:927:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_loadu_si256(const __m256i_u*)': target specific option mismatch 927 | _mm256_loadu_si256 (__m256i_u const *__P) | ^~~~~~~~~~~~~~~~~~ main.cpp:25:51: note: called from here 25 | __m256i b_vec = _mm256_loadu_si256((__m256i*)&B[k][j]); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include/avxintrin.h:1333:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_set1_epi16(short int)': target specific option mismatch 1333 | _mm256_set1_epi16 (short __A) | ^~~~~~~~~~~~~~~~~ main.cpp:22:50: note: called from here 22 | __m256i a_vec = _mm256_set1_epi16(A[i][k]); | ~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include/avxintrin.h:933:1: error: inlining failed in call to 'always_inline' 'void _mm256_storeu_si256(__m256i_u*, __m256i)': target specific option mismatch 933 | _mm256_storeu_si256 (__m256i_u *__P, __m256i __A) | ^~~~~~~~~~~~~~~~~~~ main.cpp:34:32: note: called from here 34 | _mm256_storeu_si256((__m256i*)&C[i][j], sum); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?