This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Openacc launch API
- From: Bernd Schmidt <bschmidt at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Nathan Sidwell <nathan at acm dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 24 Sep 2015 11:50:56 +0200
- Subject: Re: Openacc launch API
- Authentication-results: sourceware.org; auth=none
- References: <55DC6DC2 dot 5030600 at acm dot org> <55FA89AF dot 2020403 at t-online dot de> <55FAD0D9 dot 1050205 at acm dot org> <55FBD59F dot 1060700 at redhat dot com> <20150924084034 dot GC1847 at tucnak dot redhat dot com>
On 09/24/2015 10:40 AM, Jakub Jelinek wrote:
Iff GCC 5 compiled offloaded OpenACC/PTX code will always do host fallback
anyway because of the incompatible PTX version, then why don't you just
do
goacc_save_and_set_bind (acc_device_host);
fn (hostaddrs);
goacc_restore_bind ();
and nothing else in GOACC_parallel?
That was essentially my suggestion.
Other than that, I think Bernd has covered all the issues I had.
What is your opinion on the forward compatibility issue? Is it something
we care about?
Bernd