[PATCH 2/4] OpenMP 4.0 offloading to Intel MIC: liboffloadmic.
authorKirill Yukhin <kirill.yukhin@intel.com>
Thu, 13 Nov 2014 14:03:17 +0000 (14:03 +0000)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Thu, 13 Nov 2014 14:03:17 +0000 (14:03 +0000)
commit5f520819620642ecd2b070f96efa3007ac1f15a1
tree55be4bcc0740fab528054e3f28398e4513f34e4d
parentf84e7fd6cb5091fa4eba373782f2a87dd449521f
[PATCH 2/4] OpenMP 4.0 offloading to Intel MIC: liboffloadmic.

* Makefile.def: Add liboffloadmic to target_modules.  Make
liboffloadmic depend on libgomp's configure, libstdc++ and libgcc.
* Makefile.in: Regenerate.
* configure: Regenerate.
* configure.ac: Add liboffloadmic to target binaries.
Restrict liboffloadmic for POSIX and i*86, and x86_64 architectures.
Add liboffloadmic to noconfig list when C++ is not supported.

config/
* target-posix: New file.

libcilkrts/
* configure.tgt: Use config/target-posix.

liboffloadmic/
Initial commit.  Imported from upstream:
https://www.openmprtl.org/sites/default/files/liboffload_oss.tgz
* Makefile.am: New file.
* Makefile.in: New file, generated by automake.
* aclocal.m4: New file, generated by aclocal.
* configure: New file, generated by autoconf.
* configure.ac: New file.
* configure.tgt: Ditto.
* doc/doxygen/config: Ditto.
* doc/doxygen/header.tex: Ditto.
* include/coi/common/COIEngine_common.h: Ditto.
* include/coi/common/COIMacros_common.h: Ditto.
* include/coi/common/COIPerf_common.h : Ditto.
* include/coi/common/COIResult_common.h : Ditto.
* include/coi/common/COITypes_common.h: Ditto.
* include/coi/sink/COIBuffer_sink.h: Ditto.
* include/coi/sink/COIPipeline_sink.h: Ditto.
* include/coi/sink/COIProcess_sink.h: Ditto.
* include/coi/source/COIBuffer_source.h: Ditto.
* include/coi/source/COIEngine_source.h: Ditto.
* include/coi/source/COIEvent_source.h: Ditto.
* include/coi/source/COIPipeline_source.h: Ditto.
* include/coi/source/COIProcess_source.h: Ditto.
* include/myo/myo.h: Ditto.
* include/myo/myoimpl.h: Ditto.
* include/myo/myotypes.h: Ditto.
* liboffloadmic_host.spec.in: Ditto.
* liboffloadmic_target.spec.in: Ditto.
* runtime/cean_util.cpp: Ditto.
* runtime/cean_util.h: Ditto.
* runtime/coi/coi_client.cpp: Ditto.
* runtime/coi/coi_client.h: Ditto.
* runtime/coi/coi_server.cpp: Ditto.
* runtime/coi/coi_server.h: Ditto.
* runtime/compiler_if_host.cpp: Ditto.
* runtime/compiler_if_host.h: Ditto.
* runtime/compiler_if_target.cpp: Ditto.
* runtime/compiler_if_target.h: Ditto.
* runtime/dv_util.cpp: Ditto.
* runtime/dv_util.h: Ditto.
* runtime/emulator/coi_common.h: Ditto.
* runtime/emulator/coi_device.cpp: Ditto.
* runtime/emulator/coi_device.h: Ditto.
* runtime/emulator/coi_host.cpp: Ditto.
* runtime/emulator/coi_host.h: Ditto.
* runtime/emulator/coi_version_asm.h: Ditto.
* runtime/emulator/coi_version_linker_script.map: Ditto.
* runtime/emulator/myo_client.cpp: Ditto.
* runtime/emulator/myo_service.cpp: Ditto.
* runtime/emulator/myo_service.h: Ditto.
* runtime/emulator/myo_version_asm.h: Ditto.
* runtime/emulator/myo_version_linker_script.map: Ditto.
* runtime/liboffload_error.c: Ditto.
* runtime/liboffload_error_codes.h: Ditto.
* runtime/liboffload_msg.c: Ditto.
* runtime/liboffload_msg.h: Ditto.
* runtime/mic_lib.f90: Ditto.
* runtime/offload.h: Ditto.
* runtime/offload_common.cpp: Ditto.
* runtime/offload_common.h: Ditto.
* runtime/offload_engine.cpp: Ditto.
* runtime/offload_engine.h: Ditto.
* runtime/offload_env.cpp: Ditto.
* runtime/offload_env.h: Ditto.
* runtime/offload_host.cpp: Ditto.
* runtime/offload_host.h: Ditto.
* runtime/offload_myo_host.cpp: Ditto.
* runtime/offload_myo_host.h: Ditto.
* runtime/offload_myo_target.cpp: Ditto.
* runtime/offload_myo_target.h: Ditto.
* runtime/offload_omp_host.cpp: Ditto.
* runtime/offload_omp_target.cpp: Ditto.
* runtime/offload_orsl.cpp: Ditto.
* runtime/offload_orsl.h: Ditto.
* runtime/offload_table.cpp: Ditto.
* runtime/offload_table.h: Ditto.
* runtime/offload_target.cpp: Ditto.
* runtime/offload_target.h: Ditto.
* runtime/offload_target_main.cpp: Ditto.
* runtime/offload_timer.h: Ditto.
* runtime/offload_timer_host.cpp: Ditto.
* runtime/offload_timer_target.cpp: Ditto.
* runtime/offload_trace.cpp: Ditto.
* runtime/offload_trace.h: Ditto.
* runtime/offload_util.cpp: Ditto.
* runtime/offload_util.h: Ditto.
* runtime/ofldbegin.cpp: Ditto.
* runtime/ofldend.cpp: Ditto.
* runtime/orsl-lite/include/orsl-lite.h: Ditto.
* runtime/orsl-lite/lib/orsl-lite.c: Ditto.
* runtime/orsl-lite/version.txt: Ditto.
* runtime/use_mpss2.txt: Ditto.

From-SVN: r217498
100 files changed:
ChangeLog
Makefile.def
Makefile.in
config/ChangeLog
config/target-posix [new file with mode: 0644]
configure
configure.ac
libcilkrts/ChangeLog
libcilkrts/configure.tgt
liboffloadmic/ChangeLog [new file with mode: 0644]
liboffloadmic/Makefile.am [new file with mode: 0644]
liboffloadmic/Makefile.in [new file with mode: 0644]
liboffloadmic/aclocal.m4 [new file with mode: 0644]
liboffloadmic/configure [new file with mode: 0644]
liboffloadmic/configure.ac [new file with mode: 0644]
liboffloadmic/configure.tgt [new file with mode: 0644]
liboffloadmic/doc/doxygen/config [new file with mode: 0644]
liboffloadmic/doc/doxygen/header.tex [new file with mode: 0644]
liboffloadmic/include/coi/common/COIEngine_common.h [new file with mode: 0644]
liboffloadmic/include/coi/common/COIMacros_common.h [new file with mode: 0644]
liboffloadmic/include/coi/common/COIPerf_common.h [new file with mode: 0644]
liboffloadmic/include/coi/common/COIResult_common.h [new file with mode: 0644]
liboffloadmic/include/coi/common/COITypes_common.h [new file with mode: 0644]
liboffloadmic/include/coi/sink/COIBuffer_sink.h [new file with mode: 0644]
liboffloadmic/include/coi/sink/COIPipeline_sink.h [new file with mode: 0644]
liboffloadmic/include/coi/sink/COIProcess_sink.h [new file with mode: 0644]
liboffloadmic/include/coi/source/COIBuffer_source.h [new file with mode: 0644]
liboffloadmic/include/coi/source/COIEngine_source.h [new file with mode: 0644]
liboffloadmic/include/coi/source/COIEvent_source.h [new file with mode: 0644]
liboffloadmic/include/coi/source/COIPipeline_source.h [new file with mode: 0644]
liboffloadmic/include/coi/source/COIProcess_source.h [new file with mode: 0644]
liboffloadmic/include/myo/myo.h [new file with mode: 0644]
liboffloadmic/include/myo/myoimpl.h [new file with mode: 0644]
liboffloadmic/include/myo/myotypes.h [new file with mode: 0644]
liboffloadmic/liboffloadmic_host.spec.in [new file with mode: 0644]
liboffloadmic/liboffloadmic_target.spec.in [new file with mode: 0644]
liboffloadmic/runtime/cean_util.cpp [new file with mode: 0644]
liboffloadmic/runtime/cean_util.h [new file with mode: 0644]
liboffloadmic/runtime/coi/coi_client.cpp [new file with mode: 0644]
liboffloadmic/runtime/coi/coi_client.h [new file with mode: 0644]
liboffloadmic/runtime/coi/coi_server.cpp [new file with mode: 0644]
liboffloadmic/runtime/coi/coi_server.h [new file with mode: 0644]
liboffloadmic/runtime/compiler_if_host.cpp [new file with mode: 0644]
liboffloadmic/runtime/compiler_if_host.h [new file with mode: 0644]
liboffloadmic/runtime/compiler_if_target.cpp [new file with mode: 0644]
liboffloadmic/runtime/compiler_if_target.h [new file with mode: 0644]
liboffloadmic/runtime/dv_util.cpp [new file with mode: 0644]
liboffloadmic/runtime/dv_util.h [new file with mode: 0644]
liboffloadmic/runtime/emulator/coi_common.h [new file with mode: 0644]
liboffloadmic/runtime/emulator/coi_device.cpp [new file with mode: 0644]
liboffloadmic/runtime/emulator/coi_device.h [new file with mode: 0644]
liboffloadmic/runtime/emulator/coi_host.cpp [new file with mode: 0644]
liboffloadmic/runtime/emulator/coi_host.h [new file with mode: 0644]
liboffloadmic/runtime/emulator/coi_version_asm.h [new file with mode: 0644]
liboffloadmic/runtime/emulator/coi_version_linker_script.map [new file with mode: 0644]
liboffloadmic/runtime/emulator/myo_client.cpp [new file with mode: 0644]
liboffloadmic/runtime/emulator/myo_service.cpp [new file with mode: 0644]
liboffloadmic/runtime/emulator/myo_service.h [new file with mode: 0644]
liboffloadmic/runtime/emulator/myo_version_asm.h [new file with mode: 0644]
liboffloadmic/runtime/emulator/myo_version_linker_script.map [new file with mode: 0644]
liboffloadmic/runtime/liboffload_error.c [new file with mode: 0644]
liboffloadmic/runtime/liboffload_error_codes.h [new file with mode: 0644]
liboffloadmic/runtime/liboffload_msg.c [new file with mode: 0644]
liboffloadmic/runtime/liboffload_msg.h [new file with mode: 0644]
liboffloadmic/runtime/mic_lib.f90 [new file with mode: 0644]
liboffloadmic/runtime/offload.h [new file with mode: 0644]
liboffloadmic/runtime/offload_common.cpp [new file with mode: 0644]
liboffloadmic/runtime/offload_common.h [new file with mode: 0644]
liboffloadmic/runtime/offload_engine.cpp [new file with mode: 0644]
liboffloadmic/runtime/offload_engine.h [new file with mode: 0644]
liboffloadmic/runtime/offload_env.cpp [new file with mode: 0644]
liboffloadmic/runtime/offload_env.h [new file with mode: 0644]
liboffloadmic/runtime/offload_host.cpp [new file with mode: 0644]
liboffloadmic/runtime/offload_host.h [new file with mode: 0644]
liboffloadmic/runtime/offload_myo_host.cpp [new file with mode: 0644]
liboffloadmic/runtime/offload_myo_host.h [new file with mode: 0644]
liboffloadmic/runtime/offload_myo_target.cpp [new file with mode: 0644]
liboffloadmic/runtime/offload_myo_target.h [new file with mode: 0644]
liboffloadmic/runtime/offload_omp_host.cpp [new file with mode: 0644]
liboffloadmic/runtime/offload_omp_target.cpp [new file with mode: 0644]
liboffloadmic/runtime/offload_orsl.cpp [new file with mode: 0644]
liboffloadmic/runtime/offload_orsl.h [new file with mode: 0644]
liboffloadmic/runtime/offload_table.cpp [new file with mode: 0644]
liboffloadmic/runtime/offload_table.h [new file with mode: 0644]
liboffloadmic/runtime/offload_target.cpp [new file with mode: 0644]
liboffloadmic/runtime/offload_target.h [new file with mode: 0644]
liboffloadmic/runtime/offload_target_main.cpp [new file with mode: 0644]
liboffloadmic/runtime/offload_timer.h [new file with mode: 0644]
liboffloadmic/runtime/offload_timer_host.cpp [new file with mode: 0644]
liboffloadmic/runtime/offload_timer_target.cpp [new file with mode: 0644]
liboffloadmic/runtime/offload_trace.cpp [new file with mode: 0644]
liboffloadmic/runtime/offload_trace.h [new file with mode: 0644]
liboffloadmic/runtime/offload_util.cpp [new file with mode: 0644]
liboffloadmic/runtime/offload_util.h [new file with mode: 0644]
liboffloadmic/runtime/ofldbegin.cpp [new file with mode: 0644]
liboffloadmic/runtime/ofldend.cpp [new file with mode: 0644]
liboffloadmic/runtime/orsl-lite/include/orsl-lite.h [new file with mode: 0644]
liboffloadmic/runtime/orsl-lite/lib/orsl-lite.c [new file with mode: 0644]
liboffloadmic/runtime/orsl-lite/version.txt [new file with mode: 0644]
liboffloadmic/runtime/use_mpss2.txt [new file with mode: 0644]