Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   30fps Vision Tracking on the RoboRIO without Coprocessor (http://www.chiefdelphi.com/forums/showthread.php?t=152283)

euhlmann 11-22-2016 07:32 AM

Re: 30fps Vision Tracking on the RoboRIO without Coprocessor
 
I was digging through the source and found this
https://github.com/opencv/opencv/blo...pp#L1536-L1690

So now I'm curious: does the performance boost come from not using CV_NEON in your OpenCV library build, or because NEON intrinsics are significantly slower than using plain assembly?

KJaget 11-22-2016 01:29 PM

Re: 30fps Vision Tracking on the RoboRIO without Coprocessor
 
Quote:

Originally Posted by euhlmann (Post 1617256)
I was digging through the source and found this
https://github.com/opencv/opencv/blo...pp#L1536-L1690

So now I'm curious: does the performance boost come from not using CV_NEON in your OpenCV library build, or because NEON intrinsics are significantly slower than using plain assembly?

Ideally intrinsics will get pretty close to ASM. But older versions of GCC had some significant problems with them. Newer versions have improved but can still be caught out by weird code. The optimization efforts were somewhere in the 4.8->4.9 range, so if the code is built with older versions that could be the issue.

An objdump would tell for sure, though, if anyone's up to a challenge.


All times are GMT -5. The time now is 04:39 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi