-
Notifications
You must be signed in to change notification settings - Fork 43
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
make test_lpcnet taco=1 problem #5
Comments
@lyz04551 which platform you are building for ? comment below lines and remove the flags from CMAKELists.txt mavx2 and mfma .. |
The problem has been solved, thank you |
@lyz04551 How did you solve this problem? Thank you very much. |
@JamesZHANGatTJU , I referenced this issue |
gcc -Wall -W -Wextra -Wno-unused-function -O3 -g -I../include -DTACOTRON2 -mavx2 -mfma -c -o src/test_lpcnet.o src/test_lpcnet.c
gcc -Wall -W -Wextra -Wno-unused-function -O3 -g -I../include -DTACOTRON2 -mavx2 -mfma -c -o src/lpcnet.o src/lpcnet.c
gcc -Wall -W -Wextra -Wno-unused-function -O3 -g -I../include -DTACOTRON2 -mavx2 -mfma -c -o src/nnet.o src/nnet.c
In file included from src/nnet.c:45:0:
src/vec_avx.h: In function ‘sgemv_accum16’:
src/vec_avx.h:167:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘y’
float * restrict y;
^
src/vec_avx.h:167:24: error: ‘y’ undeclared (first use in this function)
src/vec_avx.h:167:24: note: each undeclared identifier is reported only once for each function it appears in
src/vec_avx.h: In function ‘sparse_sgemv_accum16’:
src/vec_avx.h:193:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘y’
float * restrict y;
^
src/vec_avx.h:193:24: error: ‘y’ undeclared (first use in this function)
make: *** [src/nnet.o] Error 1
What is the reason for this, how to solve it, trouble you?
The text was updated successfully, but these errors were encountered: