Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: hyatt@cis.uab.edu (Robert Hyatt)
Subject: Re: The KAP pre-processor (from Kuck and Associates)
Date: Wed, 24 Feb 1993 23:30:41 GMT	[thread overview]
Message-ID: <1993Feb24.233041.1966@cis.uab.edu> (raw)
In-Reply-To: WARREN.93Feb24140156@roma.atmos.washington.edu

In article <WARREN.93Feb24140156@roma.atmos.washington.edu> warren@atmos.washington.edu (David Warren) writes:
>Having tried the KAP preprocessors, I'm not convinced that  I'll use
>them. They take a very long time to run and seem to die on some very
>legitimate fortran and c code. They also do not seem to make much of a
>difference for most of the code I've run through them. Also as the
>documentation points out they decrease the number of significant
>digits that you can have.
>--

My experience is similar.  It is quite good at finding loops and so forth
to parallelize automagically.  However, the codes I tried needed to have
the loops *created* first, then parallelized.  This is the big problem.
For fun and games, I dropped my original, pure fortran, chess program (Cray
Blitz) into KAP on a 8 processor YMP and it ran 1.01 times faster.  KAP
found lots of loops in the *move input* routine to parallelize, but could
do *nothing* with the basic search as there were no loops that were
parallelizable.  I spent years re-doing the search to create parallel
processing potential and didn't really expect KAP to do much.  It did churn
for a very long time on the code (>20,000 lines of fortran).  Now, if it
only knew how to re-write the code first, then do the dependency graph
analysis, it might make some headway.....

Note:  this is *not* a flame for KAP or Ken and group, just an opinion that
the problem is very much harder for lots of codes than one might think.

Bob Hyatt


-- 
!Robert Hyatt                    Computer and Information Sciences   !
!hyatt@cis.uab.edu               University of Alabama at Birmingham !


  reply	other threads:[~1993-02-24 23:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1m2bslINN9ld@cs.widener.edu>
1993-02-19 16:20 ` The KAP pre-processor (from Kuck and Associates) Fred Velijanian
1993-02-20 22:32   ` Phill Hallam-Baker
1993-02-24 19:01     ` David Warren
1993-02-24 23:30       ` Robert Hyatt [this message]
1993-02-19 17:12 ` The Farr Side
     [not found] ` <1n0qh8INNjdc@usenet.pa.dec.com>
1993-03-03 18:35   ` Dave Sill
read-only archive

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