From patchwork Sat Jan 28 21:56:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerald Pfeifer X-Patchwork-Id: 49911 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1512755wrn; Sat, 28 Jan 2023 13:56:52 -0800 (PST) X-Google-Smtp-Source: AMrXdXsADlOj4mVZTZ8XEgBTNWp3lNuXt97fkKqfORPgYminNwl3AaSl5dqkb7lXiPCU+XBCgtFQ X-Received: by 2002:a05:6402:1009:b0:479:8313:3008 with SMTP id c9-20020a056402100900b0047983133008mr44582717edu.0.1674943012282; Sat, 28 Jan 2023 13:56:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674943012; cv=none; d=google.com; s=arc-20160816; b=bViyOgvx1PE0DTUxRH8y1gOIF/E6WlCD8g3bbj20uGclXBli/JewWSGehqB087pqD7 whRg2xRk6Vj1qEkGXi2akY/GwJeXubO4s3DgIINCNgsPUZhpgiNF8Mey25CWDDUw+Oot mxWZCyVyN5uEoF/36aX2vpIL9Vi+eTtMlU0USATdAOpDgM5FDCLqGOrzClZDm2ABSEQL kbW8ZCWQ6n0T/WmxO+q/idujqb0LwRkZd1D+dPYSff75s0PkgoSIrqe1Nf+b9YNRgCJ/ muXx1hanN09KkiSfx6Oawq1S0Nwkb91YeKWtkFHM16yW3X8kNQoFJ9DxY/UjVbH6CFV4 eP5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:message-id:mime-version:subject :cc:to:from:date:dmarc-filter:delivered-to; bh=AOYAgCBk2gQgZ7wAngfr7PBxcSE8ChopQRBZzy8Prvg=; b=TbuBX7Gb7MlYAQNULXUj4HFlFR2+l8hlFEyw0TzjpZyMdHNLa4DY99KAeaYdi+1lQs uUCRHTR1qm06jDMTBL/LWqb4erihz3Pj4RvWPe4u6RJeo6+ROJ0ecA4crZnZ3bfN0vRt e05zak4JrbGcDv8yx9TGgSAM4mMgnH49oV8ldjJIsuQ256Sl0lr5N9L9RRHFIHvdYe9A 4d5UWrnlidrXNTU6D1Ngws5uFWSAJIsVoSqlmH3cW8xPfdEA0ouC+j8Q25td+N9vO+nR Svc7o35G+GvOK6Mw576sT1rKrrwXntGlTP5TnYz980MtzGtCxh4DDpVkc2igtopHaVAQ Mjlw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id n15-20020a05640205cf00b0048ee8cf8bb8si10508507edx.53.2023.01.28.13.56.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Jan 2023 13:56:52 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4410E3858428 for ; Sat, 28 Jan 2023 21:56:48 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from hamza.pair.com (hamza.pair.com [209.68.5.143]) by sourceware.org (Postfix) with ESMTPS id EE7F73858D20 for ; Sat, 28 Jan 2023 21:56:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EE7F73858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=pfeifer.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=pfeifer.com Received: from hamza.pair.com (localhost [127.0.0.1]) by hamza.pair.com (Postfix) with ESMTP id 9C2F433E60; Sat, 28 Jan 2023 16:56:23 -0500 (EST) Received: from naga.localdomain (188-23-1-149.adsl.highway.telekom.at [188.23.1.149]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hamza.pair.com (Postfix) with ESMTPSA id F15C333E5E; Sat, 28 Jan 2023 16:56:22 -0500 (EST) Date: Sat, 28 Jan 2023 22:56:21 +0100 (CET) From: Gerald Pfeifer To: gcc-patches@gcc.gnu.org cc: Tobias Burnus , Jakub Jelinek Subject: [v2,pushed] wwwdocs: projects/gomp: Editorial changes MIME-Version: 1.0 X-Scanned-By: mailmunge 3.10 on 209.68.5.143 Message-Id: <20230128215623.9C2F433E60@hamza.pair.com> X-Spam-Status: No, score=-9.2 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, KAM_SHORT, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756305043583450026?= X-GMAIL-MSGID: =?utf-8?q?1756305043583450026?= This is a minor variation of what i shared a week ago. Pushed now, and I'll be happy to make adjustments/further changes based on feedback. Gerald Break long sentences, fixe grammar, simplify language. --- htdocs/projects/gomp/index.html | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/htdocs/projects/gomp/index.html b/htdocs/projects/gomp/index.html index 17cf1ad9..b2b3b0c8 100644 --- a/htdocs/projects/gomp/index.html +++ b/htdocs/projects/gomp/index.html @@ -38,9 +38,9 @@ OpenMP and OpenACC are supported with GCC's C, C++ and Fortran compilers.

  • To enable OpenMP, use -fopenmp; -fopenmp-simd can be used + >-fopenmp. -fopenmp-simd can be used to enable only the SIMD vectorization and loop-transformation constructs - without creating multiple threads, offloading code or adding library + without creating multiple threads, offloading code or adding a library dependency.
  • To enable OpenACC, use
    • The -fopt-info flag provides details about compile-time performed - optimizations.
    • + >-fopt-info flag provides details about optimizations + at compile time.
    • Environment variables can be used to influence run-time behavior and output more data, useful for debugging or performance tuning. See the GNU libgomp manual for @@ -103,32 +103,31 @@ time-consuming and arcane task.

      OpenMP offers a simple way of exploiting parallelism without -interfering with algorithm design; an OpenMP program compiles and +interfering with algorithm design. An OpenMP program compiles and operates correctly in both parallel and serial execution environments. Using OpenMP's directive-based parallelism also -simplifies the act of converting existing serial code to -efficient parallel code.

      +simplifies converting existing serial code to efficient parallel code.

      -

      OpenMP additionally permits to offload computations on +

      OpenMP additionally permits to offload computations to accelerators such as GPUs, -making use of their highly parallel computation support; if +making use of their highly parallel computation support. If no accelerator is available, as fallback, the computation is -then done on the host.

      +done on the host.

      To remain relevant, free software development tools must support emerging technologies. By implementing OpenMP, GOMP -provides a simplified syntax tools for creating software targeted +provides a simple tool for creating software targeted at parallel architectures. OpenMP's platform-neutral syntax meshes well with the portability goals of GCC and other GNU projects.

      -

      The GOMP release includes a support library, libgomp, and +

      GOMP includes a support library (libgomp) and extensions to target language parsers. A long-term goal is the generation of efficient and small code for OpenMP applications.

      When support for OpenACC was added, the project name GOMP was reinterpreted as GNU Offloading and Multi-Processing instead -of denoting GNU OpenMP. +of denoting GNU OpenMP.

      Contributing

      We encourage everyone to @@ -1151,7 +1150,7 @@ Version 5.1 has been released.

      Technical Report 9: Version 5.1 Public Comment Draft has been released.

      May 7, 2020
      -

      GCC 10 has been released; it adds a number of +

      GCC 10 has been released. It adds a number of newly implemented OpenMP 5.0 features on top of the GCC 9 release such as conditional lastprivate clause, scan and loop directives, order(concurrent) and @@ -1181,7 +1180,7 @@ mapping.

      April 27, 2016

      GCC 6 has been released and version 4.5 of the OpenMP specification is now supported in the C and -C++ compilers

      +C++ compilers.

      November 14, 2015

      The final