Registered Member
|
I'm seeing some odd compiler behavior with intel on what looks like very benign eigen code. The function is below; while it's long in number of lines (it's generated by a script), it's just a bunch of hard-coded assignments. g++ takes a decent amount of time as well, but nowhere near as bad.
Timings here are on a Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz, centOS, with g++ version: 7.3.1 icpc version: 19.0.1.144 Compile times for the function below: icpc -c -O0: 0m25.624s g++ -c -O0: 0m1.013s icpc -c -O3: 5m29.369s g++ -c -O3: 0m3.793s 5 minutes on intel vs 3 seconds on g++. Any idea what could be going on here?
|
Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell