public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Bernd Schmidt <bschmidt@redhat.com>
To: Thomas Schwinge <thomas@codesourcery.com>,
	       Jakub Jelinek <jakub@redhat.com>
Cc: gcc-patches@gcc.gnu.org, Tom de Vries <vries@codesourcery.com>
Subject: Re: Un-parallelized OpenACC kernels constructs with nvptx offloading: "avoid offloading"
Date: Wed, 10 Feb 2016 15:27:00 -0000	[thread overview]
Message-ID: <56BB56EC.90707@redhat.com> (raw)
In-Reply-To: <87d1s48w97.fsf@hertz.schwinge.homeip.net>

On 02/10/2016 03:39 PM, Thomas Schwinge wrote:

> Yes, we need a hammer that big: we have to ensure consistency between
> data regions on the device and code offloading to the device, as
> otherwise we'll very easily run into inconsistencies, because of the
> non-shared memory.  In the general case, it's "all or nothing": you
> either have to offload all kernels or none of them.

That's unfortunately not the impression I got from the earlier 
discussion, and this seems to imply that one unprofitable kernel would 
disable all the others - IMO this is not acceptable. There need to be 
more compiler smarts to figure out whether a kernel is a valid candidate 
for skipping the offloading.


Bernd

  reply	other threads:[~2016-02-10 15:27 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87r3hac1w9.fsf@hertz.schwinge.homeip.net>
2016-01-18 17:27 ` [PATCH] Add fopt-info-oacc Tom de Vries
2016-01-18 18:28   ` Sandra Loosemore
2016-01-18 20:30     ` Richard Sandiford
2016-01-21 21:55   ` [gomp4] Un-parallelized OpenACC kernels constructs with nvptx offloading: "avoid offloading" (was: [PATCH] Add fopt-info-oacc) Thomas Schwinge
2016-01-22  7:40     ` [gomp4] Un-parallelized OpenACC kernels constructs with nvptx offloading: "avoid offloading" Thomas Schwinge
2016-01-22  8:36       ` Jakub Jelinek
2016-01-22  9:00         ` Thomas Schwinge
2016-01-22 13:18         ` Bernd Schmidt
2016-01-22 13:25           ` Jakub Jelinek
2016-01-22 13:31             ` Bernd Schmidt
2016-02-04 14:47               ` Thomas Schwinge
2016-02-10 11:51                 ` Thomas Schwinge
2016-02-10 13:25                   ` Bernd Schmidt
2016-02-10 14:40                     ` Thomas Schwinge
2016-02-10 15:27                       ` Bernd Schmidt [this message]
2016-02-10 16:23                         ` Thomas Schwinge
2016-02-10 16:37                           ` Bernd Schmidt
2016-02-10 17:39                             ` Thomas Schwinge
2016-02-10 20:07                               ` Bernd Schmidt
2016-02-11 10:02                                 ` Thomas Schwinge
2016-02-11 15:58                                   ` Bernd Schmidt
2016-01-26 22:30           ` [gomp4] " Martin Jambor
2016-06-30 21:46     ` Thomas Schwinge
2016-11-03 17:59     ` [gomp4] Un-parallelized OpenACC kernels constructs with nvptx offloading: "avoid offloading" (was: [PATCH] Add fopt-info-oacc) Cesar Philippidis
2019-01-31 17:16     ` [gomp4] Un-parallelized OpenACC kernels constructs with nvptx offloading: "avoid offloading" Thomas Schwinge

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=56BB56EC.90707@redhat.com \
    --to=bschmidt@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jakub@redhat.com \
    --cc=thomas@codesourcery.com \
    --cc=vries@codesourcery.com \
    /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).