libgomp/
* libgomp.map: Add 4.0.2 version.
* target.c (offload_image_descr): Add version field.
(gomp_load_image_to_device): Add version argument. Adjust plugin
call. Improve load mismatch diagnostic.
(gomp_unload_image_from_device): Add version argument. Adjust plugin
call.
(GOMP_offload_regster): Make stub function, move bulk to ...
(GOMP_offload_register_ver): ... here. Process version argument.
(GOMP_offload_unregister): Make stub function, move bulk to ...
(GOMP_offload_unregister_ver): ... here. Process version argument.
(gomp_init_device): Process version field.
(gomp_unload_device): Process version field.
(gomp_load_plugin_for_device): Reimplement DLSYM & DLSYM_OPT
macros. Check plugin version.
* libgomp.h (gomp_device_descr): Add version function field. Adjust
loader and unloader types.
* oacc-host.c: Include gomp-constants.h.
(host_version): New.
(host_load_image, host_unload_image): Adjust.
(host_dispatch): Add host_version.
* plugin/plugin-nvptx.c: Include gomp-constants.h.
(GOMP_OFFLOAD_version): New.
(GOMP_OFFLOAD_load_image): Add version arg and check it.
(GOMP_OFFLOAD_unload_image): Likewise.
* plugin/plugin-host.c: Include gomp-constants.h.
(GOMP_OFFLOAD_version): New.
(GOMP_OFFLOAD_load_image): Add version arg.
(GOMP_OFFLOAD_unload_image): Likewise.
liboffloadmic/
* plugin/libgomp-plugin-intelmic.cpp (GOMP_OFFLOAD_version): New.
(GOMP_OFFLOAD_load_image): Add version arg and check it.
(GOMP_OFFLOAD_unload_image): Likewise.
include/
* gomp-constants.h (GOMP_VERSION, GOMP_VERSION_NVIDIA_PTX,
GOMP_VERSION_INTEL_MIC): New.
(GOMP_VERSION_PACK, GOMP_VERSION_LIB, GOMP_VERSION_DEV): New.
gcc/
* config/nvptx/mkoffload.c (process): Replace
GOMP_offload_{,un}register with GOMP_offload_{,un}register_ver.
From-SVN: r227137
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| gdb | Loading commit data... | |
| COPYING | Loading commit data... | |
| COPYING3 | Loading commit data... | |
| ChangeLog | Loading commit data... | |
| ChangeLog-9103 | Loading commit data... | |
| ChangeLog.jit | Loading commit data... | |
| ansidecl.h | Loading commit data... | |
| demangle.h | Loading commit data... | |
| dwarf2.def | Loading commit data... | |
| dwarf2.h | Loading commit data... | |
| dyn-string.h | Loading commit data... | |
| fibheap.h | Loading commit data... | |
| filenames.h | Loading commit data... | |
| floatformat.h | Loading commit data... | |
| fnmatch.h | Loading commit data... | |
| gcc-c-fe.def | Loading commit data... | |
| gcc-c-interface.h | Loading commit data... | |
| gcc-interface.h | Loading commit data... | |
| getopt.h | Loading commit data... | |
| gomp-constants.h | Loading commit data... | |
| hashtab.h | Loading commit data... | |
| leb128.h | Loading commit data... | |
| libiberty.h | Loading commit data... | |
| longlong.h | Loading commit data... | |
| lto-symtab.h | Loading commit data... | |
| md5.h | Loading commit data... | |
| objalloc.h | Loading commit data... | |
| obstack.h | Loading commit data... | |
| partition.h | Loading commit data... | |
| plugin-api.h | Loading commit data... | |
| safe-ctype.h | Loading commit data... | |
| sha1.h | Loading commit data... | |
| simple-object.h | Loading commit data... | |
| sort.h | Loading commit data... | |
| splay-tree.h | Loading commit data... | |
| symcat.h | Loading commit data... | |
| timeval-utils.h | Loading commit data... | |
| vtv-change-permission.h | Loading commit data... | |
| xregex.h | Loading commit data... | |
| xregex2.h | Loading commit data... | |
| xtensa-config.h | Loading commit data... |