On Montag, 23. Juni 2008, Shipman, Galen M. wrote:
> Oh, I see, you are confusing the req_state on the OMPI request with
> the req_state on the PML request.
>
> The ompi request state is for persistent requests, the PML request
> state is not and does not use that enum.
So, the req_state in ompi_re
On Jun 23, 2008, at 5:51 PM, Jeff Squyres wrote:
Ah -- I see -- we have 2 different fields with the same name (just
different places within the struct hierarchy) with different
meanings. That was a good idea. ;-)
exactly
Thanks; that actually helps understand things quite a bit.
On
Ah -- I see -- we have 2 different fields with the same name (just
different places within the struct hierarchy) with different
meanings. That was a good idea. ;-)
Thanks; that actually helps understand things quite a bit.
On Jun 23, 2008, at 5:45 PM, Shipman, Galen M. wrote:
Oh, I see,
Oh, I see, you are confusing the req_state on the OMPI request with
the req_state on the PML request.
The ompi request state is for persistent requests, the PML request
state is not and does not use that enum.
- Galen
On Jun 23, 2008, at 5:18 PM, Jeff Squyres wrote:
On Jun 23, 2008, at
On Jun 23, 2008, at 4:43 PM, Shipman, Galen M. wrote:
We use req_state currently to track that we receive both RNDV
completion and RNDV ack prior to freeing the request..
Does that mean you're not using the enum values, but rather just to
indicate that the value is >= 0?
--
Jeff Squyres
C
We use req_state currently to track that we receive both RNDV
completion and RNDV ack prior to freeing the request..
- Galen
On Jun 23, 2008, at 3:23 PM, Brian W. Barrett wrote:
On Mon, 23 Jun 2008, Jeff Squyres wrote:
On Jun 23, 2008, at 3:17 PM, Brian W. Barrett wrote:
Just because
On Mon, 23 Jun 2008, Jeff Squyres wrote:
On Jun 23, 2008, at 3:17 PM, Brian W. Barrett wrote:
Just because it's volatile doesn't mean that adds are atomic. There's at
least one place in the PML (or used to be) where two threads could
decrement that counter at the same time.
With atomics, t
On Jun 23, 2008, at 3:17 PM, Brian W. Barrett wrote:
Just because it's volatile doesn't mean that adds are atomic.
There's at least one place in the PML (or used to be) where two
threads could decrement that counter at the same time.
With atomics, then both subtracts should occur, right?
Just because it's volatile doesn't mean that adds are atomic. There's at
least one place in the PML (or used to be) where two threads could
decrement that counter at the same time.
Brian
On Mon, 23 Jun 2008, Jeff Squyres wrote:
I see in a few places in ob1 we do things like this:
OPAL_TH
I see in a few places in ob1 we do things like this:
OPAL_THREAD_ADD32(&sendreq->req_state, -1);
Why do we do this? req_state is technically an enum value, so we
shouldn't be adding/subtracting to it (granted, it looks like the enum
values were carefully chosen to allow this). Addition
10 matches
Mail list logo