[Insight-users] Speeding up the evaluation of the itk::Gaussian?
Luis Ibanez
luis.ibanez at kitware.com
Wed Sep 9 10:37:41 EDT 2009
Hi Motes,
In Windows you can not select the compilation mode from CMake.
You have to do it from inside Visual Studio,
after you load the ITK solution file,
by selecting the configuration mode.
What version of Visual Studio do you use ?
Luis
---------------------------------------------------------------------------------------------
On Wed, Sep 9, 2009 at 10:29 AM, motes motes <mort.motes at gmail.com> wrote:
> Ok but how do I make a release build with cmake?
>
> After chosing "Configure" the only thing related to "Release" is:
>
> CMAKE_CXX_FLAGS_RELEASE /MD /O2 /Ob2 /D NDEBUG
>
> I thought I could check it like "Examples" and "Testing".
>
>
>
> On Wed, Sep 9, 2009 at 3:37 PM, John Drescher<drescherjm at gmail.com> wrote:
> >> In Visual Studio you must select "Release" from the drop down box on
> >> the toolbar to perform an optimized compilation. Using a "Release"
> >> build can improve performance 10-200%.
> >>
> >
> > In my testing with a debug versus release (under visual studio) it is
> > much worse than that in debug mode. I mean for a 3D median filter of a
> > CT volume of 512x512x384. In release mode this completes in less than
> > 30 seconds. In debug mode it takes around 30 minutes.
> >
> > John
> >
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090909/2bddb820/attachment-0001.htm>
More information about the Insight-users
mailing list