r219023 - in /branches/gomp-4_0-branch/libgomp:...
tschwinge@gcc.gnu.org
tschwinge@gcc.gnu.org
Mon Dec 22 17:40:00 GMT 2014
Author: tschwinge
Date: Mon Dec 22 17:40:37 2014
New Revision: 219023
URL: https://gcc.gnu.org/viewcvs?rev=219023&root=gcc&view=rev
Log:
libgomp: Restore code that initializes the address mapping tables in GOMP_target_update.
libgomp/
* target.c (GOMP_target_update): To initialize, call
gomp_init_dev_tables instead of gomp_init_device.
With Intel MIC offloading (emulation), this fixes cases of "#pragma omp declare
target" of variables, followed by "#pragma omp target update to([...])" before
any "#pragma omp target" or "#pragma omp target data" is called:
FAIL: libgomp.c/examples-4/e.53.3.c execution test
FAIL: libgomp.c/examples-4/e.53.4.c execution test
FAIL: libgomp.c/examples-4/e.53.5.c execution test
FAIL: libgomp.fortran/examples-4/e.53.3.f90 -O0 execution test
FAIL: libgomp.fortran/examples-4/e.53.3.f90 -O1 execution test
FAIL: libgomp.fortran/examples-4/e.53.3.f90 -O2 execution test
FAIL: libgomp.fortran/examples-4/e.53.3.f90 -O3 -fomit-frame-pointer execution test
FAIL: libgomp.fortran/examples-4/e.53.3.f90 -O3 -fomit-frame-pointer -funroll-loops execution test
FAIL: libgomp.fortran/examples-4/e.53.3.f90 -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions execution test
FAIL: libgomp.fortran/examples-4/e.53.3.f90 -O3 -g execution test
FAIL: libgomp.fortran/examples-4/e.53.3.f90 -Os execution test
FAIL: libgomp.fortran/examples-4/e.53.4.f90 -O0 execution test
FAIL: libgomp.fortran/examples-4/e.53.4.f90 -O1 execution test
FAIL: libgomp.fortran/examples-4/e.53.4.f90 -O2 execution test
FAIL: libgomp.fortran/examples-4/e.53.4.f90 -O3 -fomit-frame-pointer execution test
FAIL: libgomp.fortran/examples-4/e.53.4.f90 -O3 -fomit-frame-pointer -funroll-loops execution test
FAIL: libgomp.fortran/examples-4/e.53.4.f90 -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions execution test
FAIL: libgomp.fortran/examples-4/e.53.4.f90 -O3 -g execution test
FAIL: libgomp.fortran/examples-4/e.53.4.f90 -Os execution test
FAIL: libgomp.fortran/examples-4/e.53.5.f90 -O0 execution test
FAIL: libgomp.fortran/examples-4/e.53.5.f90 -O1 execution test
FAIL: libgomp.fortran/examples-4/e.53.5.f90 -O2 execution test
FAIL: libgomp.fortran/examples-4/e.53.5.f90 -O3 -fomit-frame-pointer execution test
FAIL: libgomp.fortran/examples-4/e.53.5.f90 -O3 -fomit-frame-pointer -funroll-loops execution test
FAIL: libgomp.fortran/examples-4/e.53.5.f90 -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions execution test
FAIL: libgomp.fortran/examples-4/e.53.5.f90 -O3 -g execution test
FAIL: libgomp.fortran/examples-4/e.53.5.f90 -Os execution test
Modified:
branches/gomp-4_0-branch/libgomp/ChangeLog.gomp
branches/gomp-4_0-branch/libgomp/target.c
More information about the Gcc-cvs
mailing list