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 #73855 is a reply to message #73854] Tue, 30 November 2010 06:49 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
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.
[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 17:06:30 PDT 2025

Total time taken to generate the page: 1.20039 seconds