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

tschwinge@gcc.gnu.org tschwinge@gcc.gnu.org
Wed Nov 5 16:07:00 GMT 2014


Author: tschwinge
Date: Wed Nov  5 16:07:20 2014
New Revision: 217141

URL: https://gcc.gnu.org/viewcvs?rev=217141&root=gcc&view=rev
Log:
libgomp plugins: Remove the (OpenACC) avail function.

This idea has been to use this to see whether a class of devices is generally
available, without determining the exact number of devices that are available.
Such a distinction probably doesn't make too much sense; in the following, we'd
like to use one device anyway.

Inline the few users.

	libgomp/
	* target.h (struct ACC_dispatch_t): Remove avail_func.  Update all
	users.
	* oacc-host.c (openacc_avail): Likewise.
	* plugin-nvptx.c (PTX_avail, openacc_avail): Likewise.
	* libgomp.texi (acc_get_num_devices): Revise.

Modified:
    branches/gomp-4_0-branch/libgomp/ChangeLog.gomp
    branches/gomp-4_0-branch/libgomp/libgomp.texi
    branches/gomp-4_0-branch/libgomp/oacc-host.c
    branches/gomp-4_0-branch/libgomp/oacc-init.c
    branches/gomp-4_0-branch/libgomp/plugin-nvptx.c
    branches/gomp-4_0-branch/libgomp/target.c
    branches/gomp-4_0-branch/libgomp/target.h



More information about the Gcc-cvs mailing list