freepooma-devel
[Top][All Lists]
Advanced

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

Re: [pooma-dev] [PATCH] MPI support for SerialAsync scheduler


From: Jeffrey D. Oldham
Subject: Re: [pooma-dev] [PATCH] MPI support for SerialAsync scheduler
Date: Tue, 06 Jan 2004 12:10:59 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624

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 <address@hidden>

        * 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
address@hidden

reply via email to

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