flame / blis

BLAS-like Library Instantiation Software Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error of " unknown type name 'zaxpyf_ker_ft'; did you mean 'axpyf_ker_ft' " with --enable-amd-frame-tweaks

wreckdump opened this issue · comments

I get the following error when I use --enable-amd-frame-tweaks option enabled. I don't get any errors when I build without it.

frame/2/gemv/amd/bli_gemv_unf_var2_amd.c:219:1: fatal error: unknown type name 'zaxpyf_ker_ft'; did you mean 'axpyf_ker_ft'?
GENTFUNC( dcomplex, z, gemv_unf_var2 )
^
frame/2/gemv/amd/bli_gemv_unf_var2_amd.c:188:2: note: expanded from macro 'GENTFUNC'
        PASTECH(ch,axpyf_ker_ft) kfp_af; \
        ^
./frame/include//bli_macro_defs.h:77:36: note: expanded from macro 'PASTECH'
#define PASTECH(ch,op)             PASTECH_(ch,op)
                                   ^
./frame/include//bli_macro_defs.h:76:36: note: expanded from macro 'PASTECH_'
#define PASTECH_(ch,op)            ch ## op
                                   ^
<scratch space>:73:1: note: expanded from here
zaxpyf_ker_ft
^
./frame/1f//bli_l1f_ker_ft.h:54:1: note: 'axpyf_ker_ft' declared here
GENTDEF( axpyf )
^
./frame/1f//bli_l1f_ker_ft.h:47:16: note: expanded from macro 'GENTDEF'
typedef void (*PASTECH(opname,_ker_ft)) \
               ^
./frame/include//bli_macro_defs.h:77:36: note: expanded from macro 'PASTECH'
#define PASTECH(ch,op)             PASTECH_(ch,op)
                                   ^
./frame/include//bli_macro_defs.h:76:36: note: expanded from macro 'PASTECH_'
#define PASTECH_(ch,op)            ch ## op
                                   ^
<scratch space>:52:1: note: expanded from here
axpyf_ker_ft
^
1 error generated.
make: *** [Makefile:685: obj/zen2/frame/2/gemv/amd/bli_gemv_unf_var2_amd.o] Error 1
make: *** Waiting for unfinished jobs....

And below is how I configured
./configure CC=clang CXX=clang++ FC=flang CFLAGS="-O3 -march=znver2 -fPIC" --prefix=/usr --enable-amd-frame-tweaks --enable-threading=pthreads zen2