Closed tmiw closed 2 years ago
I just tried a non-AVX machine using Ubuntu 20 - LPCNet & freedv-gui (using build_linux.sh) builds for me, test_vec
builds and runs OK:
david@bear:~/LPCNet/build_linux master $ ./src/test_vec
testing vector routines on SIMD: SSE
sgemv_accum16.....................: pass
sparse_sgemv_accum16..............: pass
Looking at LPCNet/build_linux/CMakeCache.txt
neither the AVX or SSE flags were set, so LPCNet correctly determined there was no vectorisation available.
Could it be something with Linux Mint specifically? As in, whatever it's using for libraries only has sgemv_accum16 and not sgemv_accum16_fast for example?
Those functions are in nnet.c
. IIRC others have built LPCnet & freedv-gui on Linux Mint, it's a pretty standard distro. Maybe user error?
Curt on the digitalvoice list ended up fresh installing Ubuntu on his machine and solved the compile/crash issues he was having. We can probably close this unless someone else ends up seeing similar.
As reported on the digitalvoice mailing list:
We probably just need to change the function names used to get it to build on x86 machines without any sort of vectorization (e.g. no AVX/SSE).