libgomp plugins: Remove the (OpenACC) avail function.
commitaf80306c854b504fb0df6ac7d88d2472989ffbb7
authortschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Nov 2014 16:07:20 +0000 (5 16:07 +0000)
committertschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Nov 2014 16:07:20 +0000 (5 16:07 +0000)
tree0d9f414c58e538fa8da39fc2fc10a8fd62419a0b
parent3838e13dedee9217b067cf2ab4b3fb5bb7d5cf68
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-4_0-branch@217141 138bc75d-0d04-0410-961f-82ee72b054a4
libgomp/ChangeLog.gomp
libgomp/libgomp.texi
libgomp/oacc-host.c
libgomp/oacc-init.c
libgomp/plugin-nvptx.c
libgomp/target.c
libgomp/target.h