This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: New post-LTO OpenACC pass
- From: Bernd Schmidt <bschmidt at redhat dot com>
- To: Bernd Schmidt <bernds_cb1 at t-online dot de>, Nathan Sidwell <nathan at acm dot org>, Jakub Jelinek <jakub at redhat dot com>
- Cc: Cesar Philippidis <cesar at codesourcery dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 25 Sep 2015 15:19:07 +0200
- Subject: Re: New post-LTO OpenACC pass
- Authentication-results: sourceware.org; auth=none
- References: <560030A9 dot 5020705 at acm dot org> <560068D0 dot 1050308 at codesourcery dot com> <56006B13 dot 1060004 at acm dot org> <560170CB dot 3040603 at acm dot org> <5602862A dot 5090808 at redhat dot com> <560297A1 dot 8040009 at acm dot org> <5602A1EA dot 3060009 at redhat dot com> <5602F278 dot 1030708 at acm dot org> <5602F4BB dot 9000908 at redhat dot com> <5602F662 dot 6000202 at acm dot org> <56047B4E dot 3010704 at acm dot org> <560521CB dot 6000609 at redhat dot com> <56052853 dot 5030100 at acm dot org> <56053E5E dot 3060609 at t-online dot de> <56054621 dot 6040906 at redhat dot com>
On 09/25/2015 03:03 PM, Bernd Schmidt wrote:
182 else if (acc_device_type (acc_dev->type) == acc_device_host)
(gdb) p acc_dev->type
$1 = OFFLOAD_TARGET_TYPE_HOST
(gdb) next
184 fn (hostaddrs);
It's not running the offloaded version, so the testcase I think should
fail.
... and that's because my system was no longer set up to run CUDA
binaries, after I fixed that the testcase passes.
So as far as I can tell almost everything here works as expected?
Bernd