help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PThread + Feval


From: Søren Hauberg
Subject: Re: PThread + Feval
Date: Thu, 30 Dec 2010 12:36:57 +0100

tor, 30 12 2010 kl. 03:28 -0800, skrev gianvito:
> Thank you for your reply... I'll do it in single thread mode for now...
> 
> But what about improving the feval performance? Is there another way to do
> the same thing in a more efficient way? I call that function thousands of
> time (the same function with different arguments) and the calculation time
> is very long ...

I don't know if you can do something faster than 'feval'.

You might be able to parallelise things by starting several processes
(e.g. using 'fork') rather than using threads. This has been done
successfully in the 'parcellfun' function. I don't know the details
though...

Søren



reply via email to

[Prev in Thread] Current Thread [Next in Thread]