[Bug libgomp/88407] New: [OpenACC] Correctly handle unseen async-arguments

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug libgomp/88407] New: [OpenACC] Correctly handle unseen async-arguments

redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88407

            Bug ID: 88407
           Summary: [OpenACC] Correctly handle unseen async-arguments
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: openacc, patch
          Severity: normal
          Priority: P3
         Component: libgomp
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
                CC: cltang at gcc dot gnu.org, jakub at gcc dot gnu.org
  Target Milestone: ---

The current implementation of "acc_async_test" does not conform to the
specification, and I've now generally asked the OpenACC technical committee
about the intended behavior of 'OpenACC "wait" directive/clause/runtime API
call with async-argument not used before'.  

This will need to be fixed on all release branches.
Reply | Threaded
Open this post in threaded view
|

[Bug libgomp/88407] [OpenACC] Correctly handle unseen async-arguments

redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88407

Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-12-07
           Assignee|unassigned at gcc dot gnu.org      |tschwinge at gcc dot gnu.org
     Ever confirmed|0                           |1
Reply | Threaded
Open this post in threaded view
|

[Bug libgomp/88407] [OpenACC] Correctly handle unseen async-arguments

redi at gcc dot gnu.org
In reply to this post by redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88407

--- Comment #1 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Author: tschwinge
Date: Fri Dec 14 20:42:40 2018
New Revision: 267150

URL: https://gcc.gnu.org/viewcvs?rev=267150&root=gcc&view=rev
Log:
[PR88407] [OpenACC] Correctly handle unseen async-arguments

... which turn the operation into a no-op.

        libgomp/
        PR libgomp/88407
        * plugin/plugin-nvptx.c (nvptx_async_test, nvptx_wait)
        (nvptx_wait_async): Unseen async-argument is a no-op.
        * testsuite/libgomp.oacc-c-c++-common/async_queue-1.c: Update.
        * testsuite/libgomp.oacc-c-c++-common/data-2-lib.c: Likewise.
        * testsuite/libgomp.oacc-c-c++-common/data-2.c: Likewise.
        * testsuite/libgomp.oacc-c-c++-common/lib-79.c: Likewise.
        * testsuite/libgomp.oacc-fortran/lib-12.f90: Likewise.
        * testsuite/libgomp.oacc-c-c++-common/lib-71.c: Merge into...
        * testsuite/libgomp.oacc-c-c++-common/lib-69.c: ... this.  Update.
        * testsuite/libgomp.oacc-c-c++-common/lib-77.c: Merge into...
        * testsuite/libgomp.oacc-c-c++-common/lib-74.c: ... this.  Update

Removed:
    trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-71.c
    trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-77.c
Modified:
    trunk/libgomp/ChangeLog
    trunk/libgomp/plugin/plugin-nvptx.c
    trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/async_queue-1.c
    trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/data-2-lib.c
    trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/data-2.c
    trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-69.c
    trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-74.c
    trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-79.c
    trunk/libgomp/testsuite/libgomp.oacc-fortran/lib-12.f90