From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com [68.232.129.153]) by sourceware.org (Postfix) with ESMTPS id E84EA3858010 for ; Tue, 29 Jun 2021 23:52:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E84EA3858010 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com IronPort-SDR: TKogd9FaGt+wD9KmXVGSvwl/NAFTAotmjtD57y4rI28gHVoQO9DESVg7mpigYqsiYUO7A87mRq YLeWp5wps/VrA7AMS7Kh04KfM+Cipb7CKL9XzY36SN2AfClxKLYhUFWGuGcI8L8H+6d4ETDGSN Eo+u/iHTf45f2aulESfdLRVtU3Gy2Wu3JpOSaPxXpN7VXE0ZMRY3rci/z6MKC/rL0Ww8kU0yA/ hE+3LUX8FaQgnUOP+FLyawk+t8urFcv8h302dJF92W70aNFRVrUVXaIjwzeSh8pwKy3Gooch5W yrg= X-IronPort-AV: E=Sophos;i="5.83,310,1616486400"; d="scan'208";a="65400941" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa1.mentor.iphmx.com with ESMTP; 29 Jun 2021 15:52:36 -0800 IronPort-SDR: sEOFjQwa8e16jqMdic1oPYmbgRkq66FCjRrlc/SKqCeOZ0k4zaPIRJiRGQ5k0QUhUvDWUg/HI6 dJwAS2eJneMjQHaug+al6nNvREYc3/VWqS7Hpd4bI1t5PSy/2VF6EbI0EZaqqaaJw42I/8VaiV QUooD1L3choO0/tvc6nf+LurHNXPVe9SDM4BEdPGF8NrMIAdF4/rs5Baq+FEXlpR6AysT9GYx4 pB4S3ppUlekw3TToM6zMk3+uhjE1QWv7QHL4xMdOQ/AIcJUKKzPc6KzoqWqQOhfcbGFdvsxoWi tN4= Date: Wed, 30 Jun 2021 00:52:30 +0100 From: Julian Brown To: CC: Jakub Jelinek , Thomas Schwinge Subject: Re: [PATCH 2/4] openacc: Fix async bugs in several OpenACC test cases Message-ID: <20210630005230.52beb87b@squid.athome> In-Reply-To: References: Organization: Mentor Graphics X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_SHORT, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2021 23:52:39 -0000 On Tue, 29 Jun 2021 16:42:02 -0700 Julian Brown wrote: > Several OpenACC tests accidentally abuse async semantics, leading to > race conditions & test failures. This patch fixes those tests. > > Tested with offloading to AMD GCN. I can probably self-approve this as > a testcase change only, unless anyone objects. Forgot to say: this was previously posted as part of the AMD GCN worker-partitioning series here: https://gcc.gnu.org/pipermail/gcc-patches/2021-March/566081.html But I noticed that the worker-partitioning patches do not (now?) have to be present for the tests in question to fail. Thanks, Julian