Re: [ros-users] Question about cmake and SSE optimizations

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Tully Foote
Date:  
To: ros-users
Subject: Re: [ros-users] Question about cmake and SSE optimizations
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 <> 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&#174; 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
>
> https://lists.sourceforge.net/lists/listinfo/ros-users
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>




--
Tully Foote
Systems Engineer
Willow Garage, Inc.

(650) 475-2827