aboutsummaryrefslogtreecommitdiff
path: root/libgomp/libgomp.map
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2018-05-02 17:53:56 +0000
committerTom de Vries <vries@gcc.gnu.org>2018-05-02 17:53:56 +0000
commitec00d3faf4e3d20906e8e6038299343f960dc49e (patch)
treef1fb8130e22dfe8536682621accc8592a7e27936 /libgomp/libgomp.map
parent92243e7ceab627026b4c63604acb5b2e6486f8a3 (diff)
downloadgcc-ec00d3faf4e3d20906e8e6038299343f960dc49e.zip
gcc-ec00d3faf4e3d20906e8e6038299343f960dc49e.tar.gz
gcc-ec00d3faf4e3d20906e8e6038299343f960dc49e.tar.bz2
[openacc] Move GOMP_OPENACC_DIM parsing out of nvptx plugin
2018-05-02 Tom de Vries <tom@codesourcery.com> PR libgomp/85411 * plugin/plugin-nvptx.c (nvptx_exec): Move parsing of GOMP_OPENACC_DIM ... * env.c (parse_gomp_openacc_dim): ... here. New function. (initialize_env): Call parse_gomp_openacc_dim. (goacc_default_dims): Define. * libgomp.h (goacc_default_dims): Declare. * oacc-plugin.c (GOMP_PLUGIN_acc_default_dim): New function. * oacc-plugin.h (GOMP_PLUGIN_acc_default_dim): Declare. * libgomp.map: New version "GOMP_PLUGIN_1.2". Add GOMP_PLUGIN_acc_default_dim. * testsuite/libgomp.oacc-c-c++-common/loop-default-runtime.c: New test. * testsuite/libgomp.oacc-c-c++-common/loop-default.h: New test. From-SVN: r259852
Diffstat (limited to 'libgomp/libgomp.map')
-rw-r--r--libgomp/libgomp.map5
1 files changed, 5 insertions, 0 deletions
diff --git a/libgomp/libgomp.map b/libgomp/libgomp.map
index f9044ae..8752348 100644
--- a/libgomp/libgomp.map
+++ b/libgomp/libgomp.map
@@ -420,3 +420,8 @@ GOMP_PLUGIN_1.1 {
global:
GOMP_PLUGIN_target_task_completion;
} GOMP_PLUGIN_1.0;
+
+GOMP_PLUGIN_1.2 {
+ global:
+ GOMP_PLUGIN_acc_default_dim;
+} GOMP_PLUGIN_1.1;