comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Thread-Pool for operators?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Thread-Pool for operators? [message #73854] Tue, 30 November 2010 08:17 Go to previous message
rogass is currently offline  rogass
Messages: 200
Registered: April 2008
Senior Member
On 30 Nov., 15:49, Paulo Penteado <pp.pente...@gmail.com> wrote:
> On Nov 30, 9:15 am, chris <rog...@googlemail.com> wrote:
>
>> Hi folks,
>> as documented thread-pool keywords can be also used for binary and
>> unary operators like GE. The question is, how? :)
>
>> It is clear for 'usual' routines such as TOTAL:
>
>> IDL> r=randomu(sd,100000000l) & t0=systime(1)
>> &_=total(r,TPOOL_MIN_ELTS=n_elements(r)) & print,systime(1)-t0
>>      0.075000048
>> IDL> r=randomu(sd,100000000l) & t0=systime(1) &_=total(r) &
>> print,systime(1)-t0
>>      0.081000090
>
> You need to use the equivalent keywords of the cpu procedure, that
> changes the default used by anything that uses the thread pool.

Ok, thanks. But that is not my intention. Anyway, I know now, this is
only possible, if I would write a wrapper for GE etc.

Cheers

CR
[Message index]
 
Read Message
Read Message
Previous Topic: Re: IDL - Extracting data from within boundary defined by shapefile
Next Topic: NG Transparency Bug

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 04:57:29 PDT 2025

Total time taken to generate the page: 1.28259 seconds