comp.lang.ada
 help / color / mirror / Atom feed
From: gisle@apal.ii.uib.no (Gisle S�lensminde)
Subject: Re: Where is the elusive jump command?
Date: 2000/03/31
Date: 2000-03-31T00:00:00+00:00	[thread overview]
Message-ID: <slrn8e92oq.719.gisle@apal.ii.uib.no> (raw)
In-Reply-To: 38E3CDF4.CF5450E2@Raytheon.com

In article <38E3CDF4.CF5450E2@Raytheon.com>, Samuel T. Harris wrote:
>Dan Nagle wrote:
>> 
>> Hello,
>> 
>> >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
>> 
>> On 3/30/00, 1:03:19 PM, "Marin D. Condic"
>> <mcondic-nospam@quadruscorp.com> wrote regarding Re: Where is the
>> elusive jump command?:
>> 
>> 
>> Does Ada have any loop, branch or assignment statements, which, by
>> definition,
>> may be executed in parallel?  My reading and exercises haven't shown
>> them to me yet.  Maybe I just haven't gotten to the right chapter...
>
>Parallelization of language constructs is a function of the compiler.
>If a compiler is written for a high end parallel machine, then I
>expect it to produce parallel code for the basic stuff. Such a question
>might become a compiler requirement in the selection process.

And typically the available parallelizing compilers have been fortran
compilers, due to demand from those using these parallel machines.

>
>In any event, Ada provides parallel constructs both in the forms
>of tasks as well as the distributed systems annex. Both are powerful
>forms with standardized semantics upon which you can rely.
>I can produce parallel algorithms using tasks. If my compiler does
>not parallelize record assignments, then I can use tasks to
>parallelize the operation (at least logically). Of course, the
>degree to which a compiler takes advantage of multiple processors
>is also an implementation dependent issue, but you are more likely
>to score positive results across vendors on this question
>than with basic operations such as assignment.
>
>Since Ada already incorporates parallel constructs in the form
>of tasks and partitions, perhaps a later generation Ada will
>include keywords or pragmas which enable parallel operations
>on more basic syntactic structures like assignment.

Much of the parallel code written in fortran and C uses libraries
like MPI. These can be interfaced from Ada. Some machines can also
use tasking/multithreading for parallel programs, and in this case
Ada may be more easy to use than fortran/C. 

One of the good things with F90 is the array semantics where you
can do arithmetric operations on 2-dimensional arrays, and the
SIMD constructs. The array-syntax can be implemeted through 
operator overloading, but I have not seen any widely used libraries
in Ada doing this, but I have not looked too hard, since I no 
longer do numeric programming.

-- 
--
Gisle S�lensminde ( gisle@ii.uib.no )   

ln -s /dev/null ~/.netscape/cookies




  reply	other threads:[~2000-03-31  0:00 UTC|newest]

Thread overview: 96+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-21  0:00 Where is the elusive jump command? dis90072
2000-03-21  0:00 ` Nicolas Brunot
2000-03-21  0:00 ` Nicolas Brunot
2000-03-21  0:00 ` Stanley R. Allen
2000-03-27  0:00 ` Robert A Duff
2000-03-28  0:00   ` Dale Stanbrough
2000-03-28  0:00   ` Ken Garlington
2000-03-28  0:00     ` Robert Dewar
2000-03-28  0:00       ` Ken Garlington
2000-03-28  0:00         ` Marin D. Condic
2000-03-28  0:00           ` Robert Dewar
2000-03-29  0:00             ` Marin D. Condic
2000-03-29  0:00               ` Gary Scott
2000-03-29  0:00                 ` Robert Dewar
2000-03-30  0:00                   ` Gautier
2000-03-30  0:00                     ` Gary Scott
2000-03-30  0:00                       ` Gautier
2000-03-30  0:00                       ` David Starner
2000-03-30  0:00                         ` William B. Clodius
2000-03-30  0:00                   ` David Starner
2000-03-30  0:00                     ` Marin D. Condic
2000-03-30  0:00                       ` Dan Nagle
2000-03-30  0:00                         ` David Starner
2000-03-30  0:00                         ` Samuel T. Harris
2000-03-31  0:00                           ` Gisle S�lensminde [this message]
2000-03-30  0:00                       ` Larry Kilgallen
2000-03-30  0:00                       ` Gary Scott
2000-03-31  0:00                         ` Tarjei T. Jensen
2000-03-31  0:00                           ` Larry Kilgallen
2000-03-31  0:00                             ` Gary Scott
2000-03-30  0:00                       ` Samuel T. Harris
2000-03-31  0:00                       ` Gautier
2000-03-31  0:00                       ` Tarjei T. Jensen
2000-04-12  0:00                         ` Robert A Duff
2000-04-12  0:00                           ` Stanley R. Allen
2000-04-12  0:00                             ` Samuel T. Harris
2000-04-13  0:00                               ` Stanley R. Allen
2000-04-14  0:00                                 ` Samuel T. Harris
2000-04-14  0:00                                   ` BASIC->Ada, was " tmoran
2000-04-15  0:00                                 ` Robert Dewar
2000-04-15  0:00                             ` Robert Dewar
2000-04-13  0:00                           ` Tarjei T. Jensen
2000-03-31  0:00                       ` Gisle S�lensminde
2000-03-30  0:00                   ` Gary Scott
2000-03-30  0:00               ` Alfred Hilscher
2000-03-29  0:00             ` Richard D Riehle
2000-03-29  0:00               ` Robert Dewar
2000-03-30  0:00                 ` Richard D Riehle
2000-04-01  0:00                   ` Robert A Duff
2000-04-02  0:00                     ` Richard D Riehle
2000-04-02  0:00                       ` Robert Dewar
2000-04-02  0:00                       ` Robert Dewar
2000-04-02  0:00                     ` Robert Dewar
2000-03-30  0:00                 ` Alfred Hilscher
2000-04-01  0:00                   ` Robert Dewar
2000-04-04  0:00                     ` Alfred Hilscher
2000-04-05  0:00                     ` Ole-Hjalmar Kristensen
2000-04-05  0:00                       ` Larry Kilgallen
2000-04-06  0:00                         ` Ole-Hjalmar Kristensen
2000-04-06  0:00                           ` OS Bindings (was: Where is the elusive jump command?) Larry Kilgallen
     [not found]                             ` <eisner comp.lang.ada:53670>
2000-04-06  0:00                               ` Larry Kilgallen
2000-04-06  0:00                                 ` Robert Dewar
2000-04-08  0:00                                   ` nickerson
2000-04-09  0:00                                     ` Robert Dewar
2000-04-06  0:00                             ` Robert Dewar
2000-04-07  0:00                               ` Tarjei T. Jensen
2000-04-09  0:00                                 ` Robert Dewar
2000-04-10  0:00                                   ` Tarjei T. Jensen
2000-04-12  0:00                                     ` Robert Dewar
2000-04-12  0:00                                       ` Tarjei T. Jensen
2000-04-12  0:00                                         ` Robert Dewar
2000-04-13  0:00                                           ` Tarjei T. Jensen
2000-04-15  0:00                                             ` Robert Dewar
2000-04-15  0:00                                               ` Tarjei T. Jensen
2000-04-12  0:00                                       ` Robert A Duff
2000-04-12  0:00                                         ` Tarjei T. Jensen
2000-04-12  0:00                                           ` Robert A Duff
2000-04-12  0:00                                             ` Robert Dewar
2000-04-12  0:00                                               ` Robert A Duff
2000-04-15  0:00                                                 ` Robert Dewar
2000-04-15  0:00                                                   ` Gisle S�lensminde
2000-04-15  0:00                                                 ` Robert Dewar
2000-04-13  0:00                                               ` Tarjei T. Jensen
2000-04-13  0:00                                                 ` Gisle S�lensminde
2000-04-12  0:00                                             ` Florian Weimer
2000-04-13  0:00                                             ` Tarjei T. Jensen
2000-04-13  0:00                                               ` Robert A Duff
2000-04-18  0:00                                                 ` Tarjei T. Jensen
2000-04-15  0:00                                               ` Robert Dewar
2000-04-15  0:00                                                 ` Tarjei T. Jensen
2000-04-12  0:00                                           ` Robert Dewar
2000-04-12  0:00                                           ` Robert Dewar
2000-04-06  0:00                             ` Ole-Hjalmar Kristensen
  -- strict thread matches above, loose matches on Subject: below --
2000-03-21  0:00 Where is the elusive jump command? dis90072
2000-03-21  0:00 ` Preben Randhol
2000-03-30  0:00   ` Alfred Hilscher
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox