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

Home » Public Forums » archive » Re: Parallel Processing in IDL
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: Parallel Processing in IDL [message #72813 is a reply to message #72812] Mon, 11 October 2010 13:01 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 10/11/10 12:06 PM, Ammar Yusuf wrote:
> Well let's say I have a for loop and inside this for loop I have
> around 50-100 lines and these computations are going out to different
> procedures and functions. Would I still use the IDL Thread Pool?
> Thanks!

The thread pool automatically detects and uses multiple CPUs for vector
operations and particular routines (listed below). So there is no way to
control how work is sent to the various processors. You can control a
few parameters via the CPU routine.

Table 12.2. Thread aware mathematical routines
ACOS ALOG10 ALOG
CONJ COS COSH FINITE FLOOR GAMMA
ASIN ERRORF GAUSSINT ROUND
ATAN EXP IMAGINARY SIN TVSCL
FINDGEN UINDGEN FLOAT
ABS CEIL EXPINT ISHFT
LNGAMMA MATRIX_MULTIPLY PRODUCT SINH SQRT TAN TANH VOIGT

Table 12.3. Thread aware image processing routines
BYTSCL CONVOL FFT

Table 12.4. Thread aware array creation routines
INTERPOLATE DCINDGEN MAKE_ARRAY DOUBLE ULONG
POLY_2D DCOMPLEXARR REPLICATE FIX ULONG64
BINDGEN INDGEN ULINDGEN
BYTARR CINDGEN LINDGEN L64INDGEN
UL64INDGEN

Table 12.5. Thread aware data type conversion routines
BYTE COMPLEX DCOMPLEX LONG LONG64 UINT

Table 12.6. Thread aware array manipulation routines
MAX MIN REPLICATE_INPLACE TOTAL WHERE

Table 12.7. Thread aware programming and IDL control routines
BYTEORDER LOGICAL_AND LOGICAL_OR LOGICAL_TRUE

Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: move window object programmatically
Next Topic: Adding more to a Window.Save PDF page

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

Current Time: Fri Oct 10 06:53:21 PDT 2025

Total time taken to generate the page: 1.20042 seconds