This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/65099] nvptx offloading: hard-coded 64-bit assumptions
- From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 15 Jul 2015 11:55:45 +0000
- Subject: [Bug libgomp/65099] nvptx offloading: hard-coded 64-bit assumptions
- Auto-submitted: auto-generated
- References: <bug-65099-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65099
--- Comment #2 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Author: tschwinge
Date: Wed Jul 15 11:55:13 2015
New Revision: 225824
URL: https://gcc.gnu.org/viewcvs?rev=225824&root=gcc&view=rev
Log:
[PR libgomp/65099] nvptx offloading: only 64-bit configurations are currently
supported
Backport trunk r225560:
PR libgomp/65099
gcc/
* config/nvptx/mkoffload.c (main): Create an offload image only in
64-bit configurations.
libgomp/
* plugin/plugin-nvptx.c (nvptx_get_num_devices): Return 0 if not
in a 64-bit configuration.
* testsuite/libgomp.oacc-c++/c++.exp: Don't attempt nvidia
offloading testing if no such device is available.
* testsuite/libgomp.oacc-c/c.exp: Likewise.
* testsuite/libgomp.oacc-fortran/fortran.exp: Likewise.
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/nvptx/mkoffload.c
branches/gcc-5-branch/libgomp/ChangeLog
branches/gcc-5-branch/libgomp/plugin/plugin-nvptx.c
branches/gcc-5-branch/libgomp/testsuite/libgomp.oacc-c++/c++.exp
branches/gcc-5-branch/libgomp/testsuite/libgomp.oacc-c/c.exp
branches/gcc-5-branch/libgomp/testsuite/libgomp.oacc-fortran/fortran.exp