Skip to content

Build for Zen5 fails #34

Description

@AaronBeier

Trying to build with

cmake -B build -DBLIS_CONFIG_FAMILY=zen5 -DENABLE_CBLAS=ON -DENABLE_THREADING=openmp -DENABLE_ADDON="aocl_gemm" -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release

on and for a Ryzen 9 9900X fails with the following error:

In file included from /home/aaron/code/blis/kernels/zen4/3/sup/bli_dgemmsup_rv_zen4_asm_24x8m.c:36:
/home/aaron/code/blis/kernels/zen4/3/sup/bli_dgemmsup_rv_zen4_asm_24x8m.c: In function ‘bli_dgemmsup_rv_zen4_asm_24x8m_new’:
/home/aaron/code/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/aaron/code/blis/frame/include/bli_x86_asm_macros.h:154:21: note: in expansion of macro ‘BEGIN_ASM’
  154 | #define begin_asm() BEGIN_ASM()
      |                     ^~~~~~~~~
/home/aaron/code/blis/kernels/zen4/3/sup/bli_dgemmsup_rv_zen4_asm_24x8m.c:48382:9: note: in expansion of macro ‘begin_asm’
48382 |         begin_asm()
      |         ^~~~~~~~~
compilation terminated due to -Wfatal-errors.
make[2]: *** [kernels/CMakeFiles/zen4_KERNELS.dir/build.make:625: kernels/CMakeFiles/zen4_KERNELS.dir/zen4/3/sup/bli_dgemmsup_rv_zen4_asm_24x8m.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1469: kernels/CMakeFiles/zen4_KERNELS.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Full build log: https://gist.github.com/AaronBeier/42c259ce442204cfcd1ff70102dedb0d
Let me know if you need any additional info!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions