[Insight-developers] Explicit instantiation

Alexandre GOUAILLARD agouaillard at gmail.com
Wed Aug 25 23:35:27 EDT 2010


On Wed, Aug 25, 2010 at 9:12 PM, Bradley Lowekamp
<blowekamp at mail.nih.gov> wrote:
> Hans,
> If I recall correctly from the meeting, the reason you find explicit
> instantiation very useful is because it expedites the RE-compilation of
> wrapping. Is it correct that if a single file changes in itk, the whole
> wrapping processes needs to re-occour?

hi brad.

with wrapitk 0.3, that will be included very soon in ITK v4 alpha,
this is not the case anymore, you only recompile "modules".

alex.


> Perhaps explicit instantiation is a solution to another problem. Where as
> the other issue should be solved directly?
> Brad
> On Aug 24, 2010, at 2:50 PM, Hans Johnson wrote:
>
> N=1 test for explicit instantiation:  14.3% speed improvement in
> compilations
>
> Mitigating factors:
> *** Only 1 part of the ITK has explicit instantiation (Common), and that
> part of the tool kit has code that is for the most part straight forward for
> compiliation/optimization (i.e. Very few algorithmic items that tax the
> compilers optimizers).
> *** No simpleITK or wrapping options turned on.
>
> Hans
>
> <ATT00001..txt>
>
> ========================================================
>
> Bradley Lowekamp
>
> Lockheed Martin Contractor for
>
> Office of High Performance Computing and Communications
>
> National Library of Medicine
>
> blowekamp at mail.nih.gov
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.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-developers
>
>


More information about the Insight-developers mailing list