forked from flame/blis
-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
Dear all,
I am on Fedora WSL, I cloned the repository and did the following steps:
cmake -DBLIS_CONFIG_FAMILY=auto ..
make
I got
In file included from /home/DoctorDro/blis/kernels/zen/3/sup/bli_gemmsup_rv_zen_asm_s6x16m.c:39:
/home/DoctorDro/blis/kernels/zen/3/sup/bli_gemmsup_rv_zen_asm_s6x16m.c: In function ‘bli_sgemmsup_rv_zen_asm_6x8m’:
/home/DoctorDro/blis/frame/include/bli_x86_asm_macros.h:102:21: error: ‘asm’ operand has impossible constraints or there are not enough registers
102 | #define BEGIN_ASM() __asm__ volatile (
| ^~~~~~~
/home/DoctorDro/blis/frame/include/bli_x86_asm_macros.h:154:21: note: in expansion of macro ‘BEGIN_ASM’
154 | #define begin_asm() BEGIN_ASM()
| ^~~~~~~~~
/home/DoctorDro/blis/kernels/zen/3/sup/bli_gemmsup_rv_zen_asm_s6x16m.c:1146:5: note: in expansion of macro ‘begin_asm’
1146 | begin_asm()
| ^~~~~~~~~
compilation terminated due to -Wfatal-errors.
make[2]: *** [kernels/CMakeFiles/zen_KERNELS.dir/build.make:751: kernels/CMakeFiles/zen_KERNELS.dir/zen/3/sup/bli_gemmsup_rv_zen_asm_s6x16m.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1318: kernels/CMakeFiles/zen_KERNELS.dir/all] Error 2
I successfully built with clang, clang++, using the configure script. But when I switch to gcc, g++ I got the error above.
./configure --prefix="/opt/amd/aocl" --enable-threading=openmp --complex-return=intel CC=gcc CXX=g++ auto
Metadata
Metadata
Assignees
Labels
No labels