[Insight-users] OpenMP itk

Dženan Zukić dzenanz at gmail.com
Fri Mar 22 08:56:56 EDT 2013


This question has little to do with ITK. Moreover you did not provide
enough information to be helped. Most likely you will have to "add the
results" after the parallel for loop.


On Thu, Mar 21, 2013 at 7:09 PM, Vikash Gupta <vikash.gupta at inria.fr> wrote:

> Hi itk Users,
> I want to do parallel operations on a series of images and then add the
> results of each individual thread. I am using openmp for parallelizing my
> for-loop as
>
> #pragma omp parallel for private() shared()
> for ()
> {
> }
>
> But I do not understand how to add the results from individual threads.
>
> Any help will be much appreciated
>
> Thanks
> Vikash
>
> _____________________________________
> 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://www.kitware.com/products/protraining.php
>
> 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/20130322/f634281a/attachment.htm>


More information about the Insight-users mailing list