[Digikam-users] Can "Sharpen" be parallelized?
Robert Zeller
robert.zeller at robert-zeller.org
Tue Apr 22 14:18:36 BST 2014
Hello,
Rawtherapee also runs multithreaded on compute intensive tasks.
Since all modern PCs use a multicore cpu on shared memory, the
parallelization paradigm that comes in handy in my opinion would be
OpenMP. It should not be too difficult to insert an omp parallel pragma
in front of time consuming loops and divide the loop in as many chunks
as cores are available on the CPU, assigning each chunk to an individual
core / thread.
Unfortunately I cannot step in and help coding since I don't have any
C++ knowledge; furthermore I have been out of the code writing business
for more than a decade. But I think, parallelizing the time consuming
parts of DK might be an interesting task for a student and most valuable
for us users. (There are several tutorials on the internet on how to
apply OpenMP).
Regards,
Robert
On 04/17/2014 01:35 PM, Martin (KDE) wrote:
> Hallo
>
> It is not digikam, but darktable is able to use gpgpu/openCL/cuda for
> raw processing. I use it for photo processing and digikam for photo
> management. Darktable handles multithreading as well.
>
> regards
> Martin
>
> Am 17.04.2014 13:05, schrieb ultimateclem:
>> I said CUDAs, but i mean opencl (or your prefered lib using GPU/CPU
>> combination). I know this is a lot of work, and that is not possible
>> right now. But some times, when i'm waiting for the end of a routine
>> wathcing tv, i dream of a really speed version of digikam. I'm using
>> digikam for professionnal purpose, all my pictures (more than 400 pix
>> for a wedding) are done in digikam... so i'm very concerned with speed.
>> Gilles, i would love to help the team, but i'm really unable to write a
>> single line of code, sorry.
>>
>> --------------
>> Clément Moignard
>>
>>
>> 2014-04-17 7:20 GMT+02:00 Remco Viëtor <remco.vietor at wanadoo.fr
>> <mailto:remco.vietor at wanadoo.fr>>:
>>
>> On Wednesday 16 April 2014 19:29:56 ultimateclem wrote:
>> > Hi,
>> > I would be very pleased too if some speed improvements were on the
>> todo
>> > list. Actually, i would love if some algorythms, most time consuming,
>> were
>> > ported on cudas too. For example, sharpening, local contrast, cimg...
>> > Please, Gilles, tell us more about speed improvement in the future,
>> thanks.
>> >
>> > Regards,
>> >
>> > --------------
>> > Clément Moignard
>>
>> One thing about CUDA is that it is specific for NVidia GPUs (afaik).
>> So a
>> CPU version of the routine would still be needed for users of other
>> GPUs.
>>
>> Remco
>> _______________________________________________
>> Digikam-users mailing list
>> Digikam-users at kde.org <mailto:Digikam-users at kde.org>
>> https://mail.kde.org/mailman/listinfo/digikam-users
>>
>>
>>
>>
>> _______________________________________________
>> Digikam-users mailing list
>> Digikam-users at kde.org
>> https://mail.kde.org/mailman/listinfo/digikam-users
>>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: robert_zeller.vcf
Type: text/x-vcard
Size: 815 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20140422/8ea3d03b/attachment.vcf>
More information about the Digikam-users
mailing list