[prev in list] [next in list] [prev in thread] [next in thread] 

List:       imagemagick-developer
Subject:    [magick-developers] [PATCH] Speedup of the oil painting simulation
From:       "=?UTF-8?Q?Jo=C3=A3o_Paulo_Rechi_Vita?=" <joao.vita () gmail ! com>
Date:       2008-05-08 5:10:11
Message-ID: 782ce16c0805072210g1314a309ud5af4c48832b45f3 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (text/plain)]

Hello,

this is my first time writing to this list. I've done some speedup
(about 40%) of the oil paint simulation (-paint option of convert)
through parallelization using OpenMP. As an example, on a 2816 x 2112
pixels image, it goes from

real	0m57.945s
user	0m57.596s
sys	0m0.192s

to

real	0m32.544s
user	0m57.748s
sys	0m0.284s

on a Intel Core 2 Duo 2GHz. I plan to do some timing on a 2x quad core
processor also, to see how it scales.

The patch is attached and can also be downloaded from
http://www.students.ic.unicamp.br/~ra016378/imagemagick/oilpaint_omp.patch

-- 
João Paulo Rechi Vita
MSc Computer Science Student
Computer Engineer
IC/UNICAMP


_______________________________________________
Magick-developers mailing list
Magick-developers@imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-developers


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic