diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2015-07-20 16:17:57 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2015-07-20 16:17:57 +0000 |
commit | f3e9a059a74680325960aa3e6ebc629773c9e1f8 (patch) | |
tree | d943e685a9d726c7ca9ffc74b7209156415e10fc /gcc | |
parent | dd5bc4becd7763fe34c80c944dd1597f02bbcd62 (diff) | |
download | gcc-f3e9a059a74680325960aa3e6ebc629773c9e1f8.zip gcc-f3e9a059a74680325960aa3e6ebc629773c9e1f8.tar.gz gcc-f3e9a059a74680325960aa3e6ebc629773c9e1f8.tar.bz2 |
plugin-nvptx.c (struct targ_fn_descriptor): Move later.
* plugin/plugin-nvptx.c (struct targ_fn_descriptor): Move later.
(struct ptx_image_data): Move earlier, add fns field.
(struct ptx_device): Add images and image_lock fields.
(ptx_images, ptx_image_lock): Delete.
(nvptx_open_device): Initialize images and image_lock fields.
(nvptx_close_device): Destroy image_lock.
(GOMP_OFFLOAD_load_image): Register image to device-specific fields.
(GOMP_OFFLOAD_unload_image): Unregister image from device-specific
fields.
From-SVN: r226004
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions