r230748 - in /branches/hsa: gcc/ChangeLog.hsa g...
jamborm@gcc.gnu.org
jamborm@gcc.gnu.org
Mon Nov 23 10:27:00 GMT 2015
Author: jamborm
Date: Mon Nov 23 10:27:26 2015
New Revision: 230748
URL: https://gcc.gnu.org/viewcvs?rev=230748&root=gcc&view=rev
Log:
[hsa] Perform version checks in HSA plugin
2015-11-23 Martin Jambor <mjambor@suse.cz>
gcc/
* builtin-types.def (BT_FN_VOID_PTR_INT_PTR): Removed.
(BT_FN_VOID_UINT_PTR_INT_PTR): New.
* fortran/types.def (BT_FN_VOID_PTR_INT_PTR): Removed.
(BT_FN_VOID_UINT_PTR_INT_PTR): New.
* hsa-brig.c: Include gomp-constants.
(hsa_output_libgomp_mapping): Add version arguments to to registration
and unregistration calls.
* omp-builtins.def (BUILT_IN_GOMP_OFFLOAD_REGISTER): Change to refer
to functions with versions.
(BUILT_IN_GOMP_OFFLOAD_UNREGISTER): Likewise.
include/
* gomp-constants.h (GOMP_VERSION_HSA): New.
libgomp/
* plugin/plugin-hsa.c (GOMP_OFFLOAD_load_image): Check version.
(GOMP_OFFLOAD_unload_image): Likewise.
Modified:
branches/hsa/gcc/ChangeLog.hsa
branches/hsa/gcc/builtin-types.def
branches/hsa/gcc/fortran/types.def
branches/hsa/gcc/hsa-brig.c
branches/hsa/gcc/omp-builtins.def
branches/hsa/include/ChangeLog.hsa
branches/hsa/include/gomp-constants.h
branches/hsa/libgomp/ChangeLog.hsa
branches/hsa/libgomp/plugin/plugin-hsa.c
More information about the Gcc-cvs
mailing list