Skip to content

Commit

Permalink
Add missing OpenMP flags
Browse files Browse the repository at this point in the history
  • Loading branch information
ejaasaari committed Oct 25, 2024
1 parent f16e99b commit e2c34aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cpp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ prepare-data:
rm wiki-news-300d-1M.vec.zip

example:
$(CXX) -std=c++17 -O3 -march=native -DNDEBUG -I../../lorann -flax-vector-conversions example.cpp -o example
$(CXX) -std=c++17 -O3 -march=native -fopenmp -DNDEBUG -I../../lorann -flax-vector-conversions example.cpp -o example -lgomp

clean:
rm example wiki-news-300d-1M.vec index.bin
Expand Down

0 comments on commit e2c34aa

Please sign in to comment.