mkoffload.c (process): Change offload data format.
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 30 Sep 2015 21:35:47 +0000 (21:35 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 30 Sep 2015 21:35:47 +0000 (21:35 +0000)
commitcc3cd79bc2050c45981d0c9d3efa7b7d27154eab
treeba753ab0a28be62f5e292c36f6d08ca0e7094301
parentc57173b69a617edf59ed2e73edda183e7aebf05e
mkoffload.c (process): Change offload data format.

gcc/
* config/nvptx/mkoffload.c (process): Change offload data format.

libgomp/
* plugin/plugin-nvptx.c (targ_fn_launch): Use GOMP_DIM_MAX.
(struct targ_ptx_obj): New.
(nvptx_tdata): Move earlier, change data format.
(link_ptx): Take targ_ptx_obj ptr and count.  Allow multiple
objects.
(GOMP_OFFLOAD_load_image): Adjust.

Co-Authored-By: Bernd Schmidt <bernds@codesourcery.com>
From-SVN: r228308
gcc/ChangeLog
gcc/config/nvptx/mkoffload.c
libgomp/ChangeLog
libgomp/plugin/plugin-nvptx.c