From: Tobias Burnus <burnus@net-b.de>
To: gcc patches <gcc-patches@gcc.gnu.org>, gfortran <fortran@gcc.gnu.org>
Subject: Re: [Patch, Fortran] PR 18918 - Fix/Add multi-image support to UCOBOUND
Date: Sun, 10 Apr 2011 08:36:00 -0000 [thread overview]
Message-ID: <4DA16BE4.8060504@net-b.de> (raw)
In-Reply-To: <4D9B54FD.2050408@net-b.de>
*ping*
http://gcc.gnu.org/ml/fortran/2011-04/msg00041.html
On 05.04.2011 19:44, Tobias Burnus wrote:
> This patch adds multi-image support to UCOBOUND. In the
> -fcoarray=single case, the last dimension is just "LCOARRAY (coarray,
> dim=corank)". However, if there are multiple images, one has for
> corank-1 coarrays: "lcobound(coarray) + num_images() -1" and for
> multi-rank coarrays for the last dimension "lcobound(coarray,
> dim=corank) + ceiling (real (num_images ()) / real (size)) - 1", where
> size is the product of the extends in all but the last codimension.
>
> Well, that's actually all the patch does. (Except that
> "ceiling(N/S)-1" is replaced by "(N+S-1)/S-1" = "(N-1)/S".)
>
> Build an regtested on x86-64-linux.
> OK for the trunk?
next prev parent reply other threads:[~2011-04-10 8:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-05 17:44 Tobias Burnus
2011-04-10 8:36 ` Tobias Burnus [this message]
2011-04-11 12:05 ` Mikael Morin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DA16BE4.8060504@net-b.de \
--to=burnus@net-b.de \
--cc=fortran@gcc.gnu.org \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).