superliuxz / DBSCAN

Density-Based Spatial Clustering of Applications with Noise
GNU General Public License v2.0
9 stars 2 forks source link

AVX seg fault #12

Closed superliuxz closed 4 years ago

superliuxz commented 4 years ago

reproduce: AVX=1 cmake -Bbuild -H. && cmake --build build --target cpu-test && build/bin/cpu-test $(pwd)/shared/

superliuxz commented 4 years ago

not sure wth is going on....

i suspect it has something to do with my separate implementation of the template Solver class.

Weird because if I don't pass AVX=1 nor BIT_ADJ=1 to cmake, the code compiles and passes the tests; passing AVX=1 code compiles but seg fault; pass BIT_ADJ=1 the code won't even compile.