mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
option to compile with -march=native to speed up CPU performance
On my laptop without GPU this gives me a significant improvement. From about 26 seconds (9 with OpenMP) down to (still) 12 seconds (5 with OpenMP). Intel(R) Core(TM) i5-6500T CPU @ 2.50GHz (4 cores) gcc (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609 Deactivated by default to not break e.g. distributed compilation and cross compilation.
This commit is contained in:
parent
80d9bec20f
commit
493b1e3c65
Loading…
Reference in New Issue
Block a user