This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgomp/65099] nvptx offloading: hard-coded 64-bit assumptions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]