r219018 - in /branches/gomp-4_0-branch/libgomp:...
tschwinge@gcc.gnu.org
tschwinge@gcc.gnu.org
Mon Dec 22 16:37:00 GMT 2014
Author: tschwinge
Date: Mon Dec 22 16:37:48 2014
New Revision: 219018
URL: https://gcc.gnu.org/viewcvs?rev=219018&root=gcc&view=rev
Log:
libgomp: Fix nvptx plugin's GOMP_OFFLOAD_get_name.
This is a function in the "generic" interface, so it should return the
"generic" name instead of the OpenACC one.
libgomp/
* plugin/plugin-nvptx.c (GOMP_OFFLOAD_get_name): Return "nvptx".
* oacc-init.c (resolve_device): Update for that using...
(get_openacc_name): ... this new function.
Modified:
branches/gomp-4_0-branch/libgomp/ChangeLog.gomp
branches/gomp-4_0-branch/libgomp/oacc-init.c
branches/gomp-4_0-branch/libgomp/plugin/plugin-nvptx.c
More information about the Gcc-cvs
mailing list