r219029 - in /branches/gomp-4_0-branch/libgomp:...

tschwinge@gcc.gnu.org tschwinge@gcc.gnu.org
Mon Dec 22 18:31:00 GMT 2014


Author: tschwinge
Date: Mon Dec 22 18:31:42 2014
New Revision: 219029

URL: https://gcc.gnu.org/viewcvs?rev=219029&root=gcc&view=rev
Log:
libgomp: For OpenMP offloading, only publicize GOMP_OFFLOAD_CAP_OPENMP_400 devices.

	libgomp/
	* target.c (num_devices_openmp): New variable.
	(gomp_get_num_devices): Use it.
	(gomp_target_init): Initialize it, and sort the devices array
	appropriately.

With Intel MIC offloading (emulation), this fixes:

    FAIL: libgomp.c/examples-4/e.57.2.c execution test
    FAIL: libgomp.fortran/examples-4/e.57.2.f90   -O0  execution test
    FAIL: libgomp.fortran/examples-4/e.57.2.f90   -O1  execution test
    FAIL: libgomp.fortran/examples-4/e.57.2.f90   -O2  execution test
    FAIL: libgomp.fortran/examples-4/e.57.2.f90   -O3 -fomit-frame-pointer  execution test
    FAIL: libgomp.fortran/examples-4/e.57.2.f90   -O3 -fomit-frame-pointer -funroll-loops  execution test
    FAIL: libgomp.fortran/examples-4/e.57.2.f90   -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions  execution test
    FAIL: libgomp.fortran/examples-4/e.57.2.f90   -O3 -g  execution test
    FAIL: libgomp.fortran/examples-4/e.57.2.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