ermig1979 / Synet

A small framework to infer neural network
MIT License
140 stars 26 forks source link

Target test_performance_difference fails #37

Open TonyCongqianWang opened 1 month ago

TonyCongqianWang commented 1 month ago

When using your build script after cloning, every target but test_performance difference builds. test_performance difference fails to build with error /usr/bin/ld: libSimd.so: undefined reference topthread_create' also there is no documentation on what that target does

TonyCongqianWang commented 2 weeks ago

I managed to fix this error by adding -pthread to line 120 to the CMakeList.txt:

target_link_libraries(test_performance_difference ${SIMD_LIB} Synet -ldl -lpthread -pthread)