From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id ADC34385383E for ; Mon, 26 Jul 2021 19:57:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org ADC34385383E Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-304-aOfCewfHP9KrWvYJiGlCIw-1; Mon, 26 Jul 2021 15:57:00 -0400 X-MC-Unique: aOfCewfHP9KrWvYJiGlCIw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 75090107ACF5; Mon, 26 Jul 2021 19:56:59 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-112-143.ams2.redhat.com [10.36.112.143]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E465419C59; Mon, 26 Jul 2021 19:56:58 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.16.1/8.16.1) with ESMTPS id 16QJutK92922456 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Mon, 26 Jul 2021 21:56:56 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.16.1/8.16.1/Submit) id 16QJusM42922455; Mon, 26 Jul 2021 21:56:54 +0200 Date: Mon, 26 Jul 2021 21:56:54 +0200 From: Jakub Jelinek To: Kwok Cheung Yeung Cc: GCC Patches Subject: Re: [WIP, OpenMP] OpenMP metadirectives support Message-ID: <20210726195654.GZ2380545@tucnak> Reply-To: Jakub Jelinek References: <8d413974-0068-3a31-6ae5-d36c1be06d06@codesourcery.com> <20210726142902.GW2380545@tucnak> <0000a35d-75a5-3067-b59c-b4f5bde0ea58@codesourcery.com> MIME-Version: 1.0 In-Reply-To: <0000a35d-75a5-3067-b59c-b4f5bde0ea58@codesourcery.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: Mon, 26 Jul 2021 19:57:06 -0000 On Mon, Jul 26, 2021 at 08:28:16PM +0100, Kwok Cheung Yeung wrote: > In Section 1.2.2 of the OpenMP TR10 spec, 'target variant' is defined as: > > A version of a device routine that can only be executed as part of a target region. Yes, that is a target variant, but I'm pretty sure we've decided that the target construct added for declare target is actually not a dynamic property. So basically mostly return to the 5.0 wording with clarifications for Fortran. See https://github.com/OpenMP/spec/issues/2612#issuecomment-849742988 for details. Making the target in construct dynamic would pretty much force all the scoring to be dynamic as well. Jakub