[pooma-dev] Re: [PATCH] Optimize guard update copy
Jeffrey D. Oldham
oldham at codesourcery.com
Fri Jan 16 03:04:54 UTC 2004
Richard Guenther wrote:
> On Thu, 1 Jan 2004, Richard Guenther wrote:
>
>
>>On Thu, 1 Jan 2004, Jeffrey D. Oldham wrote:
>>
>>
>>>Richard Guenther wrote:
>>>
>>>>Hi!
>>>>
>>>>This patch removes number four of the copies done for guard update.
>>>>Basically, additionally to the three copies I mentioned in the previous
>>>>mail, we're doing one extra during the RemoteView expressionApply of the
>>>>data-parallel assignment we're doing for the guard domains. Ugh. Fixed by
>>>>manually sending/receiving from/to the views. Doesn't work for Cheetah,
>>>>so conditionalized on POOMA_MPI.
>>>
>>>What breaks for Cheetah?
>>
>>I don't remember... I can try again next week.
>
>
> I tried again, and with Cheetah this is really a mess, because Cheetah
> cannot receive into a View, so we need to pass a Brick as IncomingView and
> a BrickView as View to SendReceive<IncomingView>::receive<View>() and this
> breaks all over the place in the Cheetah library...
>
> So, unfortunately, no - this doesn't work for Cheetah - at least not with
> major surgery inside the Cheetah library (which I would rather drop than
> fix).
>
> So, is the patch ok as it is (affecting only POOMA_MPI)?
OK.
> Thanks,
>
> Richard.
--
Jeffrey D. Oldham
oldham at codesourcery.com
More information about the pooma-dev
mailing list