direct_lidar_inertial_odometry icon indicating copy to clipboard operation
direct_lidar_inertial_odometry copied to clipboard

runtime issues when compiling with clang

Open JanQuenzel opened this issue 1 year ago • 1 comments

Hey there, when I compile dlio (and dlo) with clang, the average computation time more than triples in comparison to using gcc ( ~100ms instead of ~30ms for an Ouster OS0 128). I tried this on a AMD Ryzen 7 5800H with ubuntu 20.04 using clang 12.0 and gcc 9.4. With clang, the CPU was running at full core utilization (x16) and a CPU load around 99% while dropping around 30% of the scans. With gcc, the CPU runs at around 8% and slightly above 1 CPU utilized. Any idea were this problem may come from?

Best regards, Jan

JanQuenzel avatar Feb 01 '24 16:02 JanQuenzel

Hmm, probably has something to do with OpenMP when compiling with gcc.

kennyjchen avatar May 16 '24 22:05 kennyjchen