Up to 200x Faster Dot Products & Similarity Metrics — for Python, Rust, C, JS, and Swift, supporting f64, f32, f16 real & complex, i8, and bit vectors using SIMD for both AVX2, AVX-512, NEON, SVE, & SVE2 📐
Replace the hardcoded -lomp with -fopenmp to ensure that the compiler uses the correct OpenMP library. This is necessary for Clang to correctly link against its own OpenMP implementation, rather than compiling against LLVM OpenMP, then trying to link against libgomp.
Replace the hardcoded
-lomp
with-fopenmp
to ensure that the compiler uses the correct OpenMP library. This is necessary for Clang to correctly link against its own OpenMP implementation, rather than compiling against LLVM OpenMP, then trying to link against libgomp.