[ros-users] Question about cmake and SSE optimizations

Tully Foote tfoote at willowgarage.com
Tue Mar 23 16:14:21 UTC 2010


Jose,
This was an issue with the tf compile flags.  As far as my research got me
there is not a good standard way to test for it on all platforms.  On linux
you can read /proc/cpuinfo

I have an open ticket with a few relevant links I have found.
https://code.ros.org/trac/ros-pkg/ticket/3906  If you find something please
either post back here or there.  If we can find a good generic solution I
will add it to the ROS build documentation.

Tully

On Tue, Mar 23, 2010 at 9:06 AM, Jose Gonzalez <de0a100 at gmail.com> wrote:

> Hi,
>
> Doing some experiments in the past with OpenCV (linux/g++) I realized
> that there is a significant performance difference between the
> versions compiled with autoconf and cmake. Digging in the compilation
> scripts I came to the conclusion that the only extra flags that were
> added by the autoconf scripts were the SSE optimizations (and openMP).
>
> Talking about the SSE optimizations, I can see how ROS sets the flags
> in a similar way. When the detected platform is i686, all the SSE
> optimizations are disabled by default (there is a comment "SSE/SSE2
> might probably be not available for some old AMD or VIA processors").
> Before finding out a solution by myself I'd like to ask the list if
> somebody knows a standard way of testing for SSE optimizations in
> cmake.
>
> Thanks,
> Jose
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> ros-users mailing list
> ros-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ros-users
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>



-- 
Tully Foote
Systems Engineer
Willow Garage, Inc.
tfoote at willowgarage.com
(650) 475-2827
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100323/30b49e13/attachment-0003.html>


More information about the ros-users mailing list