Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wreckdump opened this issue Jun 1, 2023 · 0 comments

Comments

@wreckdump
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant