freepooma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [pooma-dev] Patch: Doof2d: Eliminate Duplicate Computations


From: James Crotinger
Subject: RE: [pooma-dev] Patch: Doof2d: Eliminate Duplicate Computations
Date: Fri, 12 Oct 2001 14:58:26 -0600

I wouldn't think you'd want to time the initial condition setup.

  Jim

> -----Original Message-----
> From: Jeffrey Oldham [mailto:address@hidden]
> Sent: Friday, October 12, 2001 2:51 PM
> To: address@hidden
> Subject: [pooma-dev] Patch: Doof2d: Eliminate Duplicate Computations
>
>
> 2001-10-12  Jeffrey D. Oldham  <address@hidden>
>
>         This patch reduces duplicate computation in the
> Doof2d benchmarks.
>         Both initialize() and run() set the initial conditions.  In
>         consultations with Stephen Smith, we have the untimed
> initialize()
>         ensure that all the allocated memory pages are
> actually created
>         and have run() set up the initial conditions.
>
>         * Doof2d.h (Doof2dBase::initialize): Replace initialize() with
>         statements to ensure all memory pages are actually created.
>         (Doof2dBase::setInitialConditions): Removed in favor
> of code in
>         initialize().
>         * Doof2dInC.h (Doof2dInC::initialize) and
>         (Doof2dInC::setInitialConditions): Likewise.
>         (Doof2dCoefsInC::initialize) and
>         (Doof2dCoefsInC::setInitialConditions): Likewise.
>
> Tested on       sequential Linux using g++3.1 by running Doof2d
> Approved by     Stephen Smith
> Applied to      mainline
>
> Thanks,
> Jeffrey D. Oldham
> address@hidden
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]