[PATCH 1/n] OpenMP 4.0 offloading infrastructure
Jakub Jelinek
jakub@redhat.com
Tue Sep 30 10:11:00 GMT 2014
On Fri, Sep 26, 2014 at 04:36:21PM +0400, Ilya Verbin wrote:
> 2014-09-26 Bernd Schmidt <bernds@codesourcery.com>
> Thomas Schwinge <thomas@codesourcery.com>
> Ilya Verbin <ilya.verbin@intel.com>
> Andrey Turetskiy <andrey.turetskiy@intel.com>
>
> * configure: Regenerate.
> * configure.ac (--enable-as-accelerator-for)
> (--enable-offload-targets): New configure options.
> gcc/
> * Makefile.in (real_target_noncanonical, accel_dir_suffix)
> (enable_as_accelerator): New variables substituted by configure.
> (libsubdir, libexecsubdir, unlibsubdir): Tweak for the possibility of
> being configured as an offload compiler.
> (DRIVER_DEFINES): Pass new defines DEFAULT_REAL_TARGET_MACHINE and
> ACCEL_DIR_SUFFIX.
> (install-cpp, install-common, install_driver, install-gcc-ar): Do not
> install for the offload compiler.
> * config.in: Regenerate.
> * configure: Regenerate.
> * configure.ac (real_target_noncanonical, accel_dir_suffix)
> (enable_as_accelerator, enable_offload_targets): Compute new variables.
> (--enable-as-accelerator-for, --enable-offload-targets): New options.
> (ACCEL_COMPILER): Define if the compiler is built as the accel compiler.
> (OFFLOAD_TARGETS): List of target names suitable for offloading.
> (ENABLE_OFFLOADING): Define if list of offload targets is not empty.
> gcc/cp/
> * Make-lang.in (c++.install-common): Do not install for the offload
> compiler.
> gcc/fortran/
> * Make-lang.in (fortran.install-common): Do not install for the offload
> compiler.
> libgcc/
> * Makefile.in (crtompbegin$(objext), crtompend$(objext)): New rule.
> * configure: Regenerate.
> * configure.ac (--enable-as-accelerator-for)
> (--enable-offload-targets): New configure options.
> (extra_parts): Add crtompbegin.o and crtompend.o if
> enable_offload_targets is not empty.
> * ompstuff.c: New file.
> libgomp/
> * config.h.in: Regenerate.
> * configure: Regenerate.
> * configure.ac: Check for libdl, required for plugin support.
> (PLUGIN_SUPPORT): Define if plugins are supported.
> (--enable-offload-targets): New configure option.
> (enable_offload_targets): Support Intel MIC targets.
> (OFFLOAD_TARGETS): List of target names suitable for offloading.
> lto-plugin/
> * Makefile.am (libexecsubdir): Tweak for the possibility of being
> configured for offload compiler.
> (accel_dir_suffix): New variable substituted by configure.
> * Makefile.in: Regenerate.
> * configure: Regenerate.
> * configure.ac (--enable-as-accelerator-for): New option.
If you add the documentation Joseph requested, looks good to me
(once the rest is reviewed too).
Jakub
More information about the Gcc-patches
mailing list