r225775 - in /branches/gomp-4_1-branch: libgomp...
iverbin@gcc.gnu.org
iverbin@gcc.gnu.org
Tue Jul 14 14:47:00 GMT 2015
Author: iverbin
Date: Tue Jul 14 14:47:18 2015
New Revision: 225775
URL: https://gcc.gnu.org/viewcvs?rev=225775&root=gcc&view=rev
Log:
libgomp/
* libgomp.h (struct gomp_device_descr): Add dev2dev_func.
* target.c (omp_target_memcpy): Support device-to-device.
(omp_target_memcpy_rect_worker): Likewise.
(omp_target_memcpy_rect): Likewise.
(gomp_load_plugin_for_device): Check for GOMP_OFFLOAD_dev2dev.
* testsuite/libgomp.c/target-12.c (main): Extend for testing
device-to-device memcpy.
liboffloadmic/
* plugin/libgomp-plugin-intelmic.cpp (GOMP_OFFLOAD_dev2dev): New
function.
* plugin/offload_target_main.cpp (__offload_target_tgt2tgt): New static
function, register it in liboffloadmic.
Modified:
branches/gomp-4_1-branch/libgomp/ChangeLog.gomp
branches/gomp-4_1-branch/libgomp/libgomp.h
branches/gomp-4_1-branch/libgomp/target.c
branches/gomp-4_1-branch/libgomp/testsuite/libgomp.c/target-12.c
branches/gomp-4_1-branch/liboffloadmic/ChangeLog
branches/gomp-4_1-branch/liboffloadmic/plugin/libgomp-plugin-intelmic.cpp
branches/gomp-4_1-branch/liboffloadmic/plugin/offload_target_main.cpp
More information about the Gcc-cvs
mailing list