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 [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id 28BAB3854827 for ; Wed, 14 Oct 2020 08:20:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 28BAB3854827 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-45-_RxnNkmNPGKO-zuLmgb6qw-1; Wed, 14 Oct 2020 04:20:28 -0400 X-MC-Unique: _RxnNkmNPGKO-zuLmgb6qw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4529318C5204; Wed, 14 Oct 2020 08:20:26 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-112-37.ams2.redhat.com [10.36.112.37]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C61D678831; Wed, 14 Oct 2020 08:20:25 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id 09E8KL9v001719; Wed, 14 Oct 2020 10:20:22 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id 09E8KK3j001718; Wed, 14 Oct 2020 10:20:20 +0200 Date: Wed, 14 Oct 2020 10:20:20 +0200 From: Jakub Jelinek To: Kwok Cheung Yeung Cc: GCC Patches , Tobias Burnus Subject: Re: [PATCH] openmp: Add support for omp_get_supported_active_levels Message-ID: <20201014082020.GG2176@tucnak> Reply-To: Jakub Jelinek References: <95c1a0d9-2cc5-4f82-dc44-13efa38df115@codesourcery.com> MIME-Version: 1.0 In-Reply-To: <95c1a0d9-2cc5-4f82-dc44-13efa38df115@codesourcery.com> User-Agent: Mutt/1.11.3 (2019-02-01) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 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.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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: Wed, 14 Oct 2020 08:20:31 -0000 On Tue, Oct 13, 2020 at 07:05:10PM +0100, Kwok Cheung Yeung wrote: > +* omp_get_supported_active_levels:: Maxiumum number of active levels supported Sorry for not catching it during review, but there is a typo above. Fixed with patch below, committed to trunk. > +@node omp_get_supported_active_levels > +@section @code{omp_get_supported_active_levels} -- Maximum number of active regions supported I also wonder about the different wording between the above two places, don't you want the same wording as earlier here? > +@table @asis > +@item @emph{Description}: > +This function returns the maximum number of nested, active parallel regions > +supported by this implementation. 2020-10-14 Jakub Jelinek * libgomp.texi (omp_get_supported_active_levels): Fix a typo. --- libgomp/libgomp.texi.jj 2020-10-13 22:29:22.215958176 +0200 +++ libgomp/libgomp.texi 2020-10-13 22:29:52.816516414 +0200 @@ -177,7 +177,7 @@ linkage, and do not throw exceptions. * omp_get_num_threads:: Size of the active team * omp_get_proc_bind:: Whether theads may be moved between CPUs * omp_get_schedule:: Obtain the runtime scheduling method -* omp_get_supported_active_levels:: Maxiumum number of active levels supported +* omp_get_supported_active_levels:: Maximum number of active levels supported * omp_get_team_num:: Get team number * omp_get_team_size:: Number of threads in a team * omp_get_thread_limit:: Maximum number of threads Jakub