From patchwork Tue Feb 27 19:16:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Burnus X-Patchwork-Id: 207391 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2913229dyb; Tue, 27 Feb 2024 11:17:44 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCX2sFlWaJavxnXwG4FLZsIKbVr6jZiXEty77iV1TiuMuJxtNgoM8iLSwsnyg7ZzYGPMJcaUaZJckk/ZrNF4GRvzATbLhQ== X-Google-Smtp-Source: AGHT+IHcel05ZLvZQ9iCGfyL0mcnhmcvmjAb5CWXNyJ6XKz9HhIl5E2yQH4JiXLmI1Td8PCv6exs X-Received: by 2002:a05:6358:6414:b0:17b:416a:38ba with SMTP id f20-20020a056358641400b0017b416a38bamr14679393rwh.26.1709061463335; Tue, 27 Feb 2024 11:17:43 -0800 (PST) Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id kc30-20020a056214411e00b0068fa310bfddsi8183013qvb.343.2024.02.27.11.17.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 11:17:43 -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; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=cOyjxLT1; arc=fail (body hash mismatch); 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 F22633858C24 for ; Tue, 27 Feb 2024 19:17:42 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by sourceware.org (Postfix) with ESMTPS id D198C3858D28 for ; Tue, 27 Feb 2024 19:16:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D198C3858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=baylibre.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D198C3858D28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::332 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709061417; cv=none; b=s7srVuBT5ot0iIQTx9XRdDa7KZwPEf2c0dOPYvBaxWPzXLXZN+Wwb0wWvWbrCoZJIbbtxcsQh4zxwwzlP4kZHzwBnAH+IrmSgwcljzo677SYAp4jI7x+H+AKB9FWqQ4iOa+fnZ9KO/Jse5aBsJBsQ9zVWuy9br+C1ggsJenUfCQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709061417; c=relaxed/simple; bh=I49LFZGl/4aSeLDiOW5wY1WyAkiR3qFaLjl0uBNkH5w=; h=DKIM-Signature:Message-ID:Date:MIME-Version:To:From:Subject; b=LZXF519rk5i7GG7oRzNFBhXk3xYnRs0q6mhxxVBvUESxDC1C1lpRDN62N+Ck22xKmZu7CKCIWJrqMTjcwL2xZ9l9grolNExswBqrrVpfLBD8StweadJ3Ztu563L/p4DvhEl/JW6NARKvCVbRcTOaK04VPJdT692jC6e0YADEHVQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-412af574501so5982105e9.2 for ; Tue, 27 Feb 2024 11:16:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1709061413; x=1709666213; darn=gcc.gnu.org; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=msu8+9eKoztn2kNExy+OjyQZ7v0qBuVkp70Sifx4Nlg=; b=cOyjxLT1K+Knz5dTfi0whxNStw/PFfkcHhPi+oib3bPiVjZlaHTW0b0fGJfwzVJ2d8 zTMx2o9OQX1Nf1hi3wkqZP/8jLtSUG2p+sZnUbVYDK+Xwg4EUlgfy00vykSk+REuD4en zrXFSi2sYovjhI8KQlx6OSIGfulX9n7YemMD7umwiA+UHGCzODKyQp9ZeUTepxfa4hsR JWrE1r/8fANDcNMI7/pDWruYEw070tTfw3Sh3iis7A8l+VoYiNQHPU/y4+NA38eNJpSG IyQtgE9MzLm9JUPtVfpUSquB48L5cOh2VyFbtnMyp1xLXan9B36D7H3U6NxOEnmP46Pw o7Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709061413; x=1709666213; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=msu8+9eKoztn2kNExy+OjyQZ7v0qBuVkp70Sifx4Nlg=; b=hGGDvpCHnSgkSDuvPBAgDPUa9PWLVFrS8+tytvyMzZ5a5bFJ9gHWvB3L4q5oa8JLkR 2FP0NeFGvefBgF9jr0lV6MKiyUZ2ZtOdwjyE9prQwN4kHElAB4czvFfQR3zCEr0ziw/5 GGlwr5mlb1OVehTCWS2V1GGZB1Yi1vrhyuIxVVIhzjfmn30RR6DDfM1LaK0GUTtKHP3E MDGgGEiBK7L02YrrGP8rUrOjP38LIfbty7U/DTbiVIbEV/q4xGk6K4/mz6Fg5BILetQY LQYdxV3qwuTcaWVdEizNhZphXbc5w0wxmehGbbnlAU10gWvQCxZ/blNZeTw8o8/laUzq beEg== X-Gm-Message-State: AOJu0YyCrA2uerS/qfZJR4iOOLBls7Dy0CGF2U4b/MgVWjEKaTKHejnU Vcjf6VNv57oAFqINvCDr4S0k5CuwlZMwktJFCKlSxcQEFWzyWFLneJtRmaqBYhD3C7/jjdYLsRO 2hhncsQ== X-Received: by 2002:a05:600c:3b0e:b0:412:a5d2:a587 with SMTP id m14-20020a05600c3b0e00b00412a5d2a587mr3908819wms.6.1709061413441; Tue, 27 Feb 2024 11:16:53 -0800 (PST) Received: from ?IPV6:2001:16b8:2aaa:b100:c567:5d7d:c7b8:4efc? (200116b82aaab100c5675d7dc7b84efc.dip.versatel-1u1.de. [2001:16b8:2aaa:b100:c567:5d7d:c7b8:4efc]) by smtp.gmail.com with ESMTPSA id x4-20020a05600c188400b0040fc56712e8sm11878053wmp.17.2024.02.27.11.16.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Feb 2024 11:16:53 -0800 (PST) Message-ID: Date: Tue, 27 Feb 2024 20:16:52 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: gcc-patches , Gerald Pfeifer , Jakub Jelinek , Thomas Schwinge From: Tobias Burnus Subject: [wwwdocs] gcc-14/changes.html + projects/gomp/: OpenMP + OpenACC update X-Spam-Status: No, score=-11.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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.30 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792080833095627695 X-GMAIL-MSGID: 1792080833095627695 Minor update for older and more recent changes. Comments? Tobias gcc-14/changes.html + projects/gomp/: OpenMP + OpenACC update Update OpenMP for two meanwhile implemented features (lvalue-expr in map, indirect now also in Fortran). Update OpenACC for one new feature (Fortran interface to exisiting C/C++ routines). diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html index 85ccc54d..1c2059b6 100644 --- a/htdocs/gcc-14/changes.html +++ b/htdocs/gcc-14/changes.html @@ -79,7 +79,8 @@ a work-in-progress.

  • OpenMP 5.0: The allocate directive is now supported for stack variables in C and Fortran, including the OpenMP 5.1 - align modifier. For Fortran, OpenMP allocators can now be + align modifier. In C and C++, the map clause now + accepts lvalue expressions. For Fortran, OpenMP allocators can now be used for allocatables and pointers using the allocate directive and its OpenMP 5.2 replacement, the allocators directive; files using this allocator and all files that might directly @@ -91,8 +92,8 @@ a work-in-progress.

  • OpenMP 5.1: Support was added for collapsing imperfectly nested loops and using present as map-type modifier and in - defaultmap. The indirect clause is now supported - for C and C++. The performance of copying strided data from or to nvptx + defaultmap. The indirect clause is now + supported. The performance of copying strided data from or to nvptx and AMD GPU devices using the OpenMP 5.1 routine omp_target_memcpy_rect has been improved.
  • @@ -117,6 +118,14 @@ a work-in-progress.

  • OpenACC 2.7: The self clause was added to be used on compute constructs and the default clause for data constructs.
  • +
  • OpenACC 3.2: The following API routines are now available in + Fortran using the openacc module or the + open_lib.h header file: acc_alloc, + acc_free, acc_hostptr, + acc_deviceptr, acc_memcpy_to_device, + acc_memcpy_to_device_async, + acc_memcyp_from_device and + acc_memcyp_from_device_async.
  • For offload-device code generated via OpenMP and OpenACC, the math diff --git a/htdocs/projects/gomp/index.html b/htdocs/projects/gomp/index.html index bf20bb88..8fdfb95a 100644 --- a/htdocs/projects/gomp/index.html +++ b/htdocs/projects/gomp/index.html @@ -489,7 +489,7 @@ than listed, depending on resolved corner cases and optimizations.

    C/C++'s lvalue expressions in to, from and map clauses - No + GCC 14 @@ -714,8 +714,8 @@ than listed, depending on resolved corner cases and optimizations.

    Indirect calls to the device version of a procedure or function in target regions - GCC 14 - Only C and C++ + GCC 14 + interop directive @@ -756,8 +756,8 @@ than listed, depending on resolved corner cases and optimizations.

    indirect clause in declare target - GCC 14 - Only C and C++ + GCC 14 + device_type(nohost)/device_type(host) for variables