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 670E03851C39; Tue, 18 Aug 2020 07:11:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 670E03851C39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Tobias_Burnus@mentor.com IronPort-SDR: J0O5qxkK5Ui4LXH6AQn2j1B1UZbzpVD98KdSwkMxUP/39FfPTZ4I2FDgL997fis90xLdU7H4aQ GN+YH11INEtwMkpPmDWcJI5y3GxMh/oRuXQzcDGL9RxxTIbEgrBvqf5+daZaTo9MfNlM9egFa+ OLvuaFWTC8QBH7/oRmbMUDTgmcM6nM0cJOtwy3fRpklGrVtkQGXczl6QoHBSNhrrmbwCEgkqz5 0Ll5s4RRXkcen8d2V8D4e+6OcBdVnA3wnT+Y23c5lqHdVIteze671YZ1P79iYKmmmGR0p8Ulri Kg4= X-IronPort-AV: E=Sophos;i="5.76,326,1592899200"; d="scan'208";a="54186582" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa1.mentor.iphmx.com with ESMTP; 17 Aug 2020 23:11:33 -0800 IronPort-SDR: r0XAm7+NqREuLeZGJnmfIkQvf0uzpH3Xhh1YImrdxM9K2LW0sVztTxxSA204eyXZ68WhVS/0ss zL0IezLiaOSoO+fQHnM0qlr5p/KJ5jDac4tLoL524xYeT6EGhORJx8Srd7hkpparg6HGfBGmBe cgUaJfzs2jICdk20SpxoClP+URJtN82euccfXj2IIHVmXDEJiEd2NoZSjCIMHd51vQ87F7ZE6C U0ybjLsze9J8SX6WKYpWcxDwEE5LjrwfIdVo2j2riKI4FQfOjV4LCuzviaXu4H6O4zNBtbH4gt Haw= Subject: *PING* / Re: [Patch] Fortran: Add 'device_type' clause to OpenMP's declare target From: Tobias Burnus To: gcc-patches , fortran References: Message-ID: Date: Tue, 18 Aug 2020 09:11:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-02.mgc.mentorg.com (139.181.222.2) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, 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: fortran@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Fortran mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Aug 2020 07:11:37 -0000 On 8/7/20 5:03 PM, Tobias Burnus wrote: > This patch adds the device_type(any|nohost|host) > clause for 'omp declare target' to Fortran. > > In OpenMP 5.0, it has no effect on variables but > only on procedures =E2=80=93 in TR8 (and later), it also > affects variables. > > This patch adds this clause to either =E2=80=93 except that > the middle end does not seem to like 'target link' > with that clause =E2=80=93 for normal variables, common > blocks are accepted. (In line with OpenMP 5, the > middle end ignores the clause for variables.) > > OK? > > Tobias > ----------------- Mentor Graphics (Deutschland) GmbH, Arnulfstra=C3=9Fe 201, 80634 M=C3=BCnch= en / Germany Registergericht M=C3=BCnchen HRB 106955, Gesch=C3=A4ftsf=C3=BChrer: Thomas = Heurung, Alexander Walter