[pooma-dev] [PATCH] MPI support for SerialAsync scheduler
Jeffrey D. Oldham
oldham at codesourcery.com
Tue Jan 6 20:10:59 UTC 2004
Richard Guenther wrote:
> On Tue, 6 Jan 2004, Jeffrey D. Oldham wrote:
>
>
>>Let's move the magic constant into a const variable instead of having
>>the constant scattered throughout the code. Then, please commit. Thanks.
>
>
> For the record, this is what I committed. It passes builds for both
> --serial and --mpi for me.
>
> Richard.
>
>
> 2004Jan06 Richard Guenther <richard.guenther at uni-tuebingen.de>
>
> * src/Threads/IterateSchedulers/SerialAsync.h: doxygenifize,
> add std::stack<int> for generation tracking, add support for
> asyncronous MPI requests.
> src/Threads/IterateSchedulers/SerialAsync.cmpl.cpp: define
> new static variables.
> src/Threads/IterateSchedulers/Runnable.h: declare add().
> src/Pooma/Pooma.cmpl.cpp: use SystemContext::max_requests
> constant.
>
> Index: Threads/IterateSchedulers/SerialAsync.cmpl.cpp
> ===================================================================
> RCS file: /home/pooma/Repository/r2/src/Threads/IterateSchedulers/SerialAsync.cmpl.cpp,v
> retrieving revision 1.3
> diff -u -u -r1.3 SerialAsync.cmpl.cpp
> --- Threads/IterateSchedulers/SerialAsync.cmpl.cpp 12 Apr 2000 00:08:06 -0000 1.3
> +++ Threads/IterateSchedulers/SerialAsync.cmpl.cpp 6 Jan 2004 19:52:47 -0000
> @@ -82,6 +82,13 @@
>
> std::list<RunnablePtr_t> SystemContext::workQueueMessages_m;
> std::list<RunnablePtr_t> SystemContext::workQueue_m;
> +#if POOMA_MPI
> + const int SystemContext::max_requests;
> + MPI_Request SystemContext::requests_m[SystemContext::max_requests];
Thank you.
--
Jeffrey D. Oldham
oldham at codesourcery.com
More information about the pooma-dev
mailing list