https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85411

--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
Author: vries
Date: Wed May  2 17:53:56 2018
New Revision: 259852

URL: https://gcc.gnu.org/viewcvs?rev=259852&root=gcc&view=rev
Log:
[openacc] Move GOMP_OPENACC_DIM parsing out of nvptx plugin

2018-05-02  Tom de Vries  <t...@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.

Added:
    trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/loop-default-runtime.c
    trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/loop-default.h
Modified:
    trunk/libgomp/ChangeLog
    trunk/libgomp/env.c
    trunk/libgomp/libgomp.h
    trunk/libgomp/libgomp.map
    trunk/libgomp/oacc-plugin.c
    trunk/libgomp/oacc-plugin.h
    trunk/libgomp/plugin/plugin-nvptx.c

Reply via email to