Show a cover letter.

GET /api/1.2/covers/2233013/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2233013,
    "url": "http://patchwork.ozlabs.org/api/1.2/covers/2233013/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/cover/20260505134929.3522938-1-aarsenovic@baylibre.com/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/17/?format=api",
        "name": "GNU Compiler Collection",
        "link_name": "gcc",
        "list_id": "gcc-patches.gcc.gnu.org",
        "list_email": "gcc-patches@gcc.gnu.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260505134929.3522938-1-aarsenovic@baylibre.com>",
    "list_archive_url": null,
    "date": "2026-05-05T13:14:56",
    "name": "[0/4] GCN: Target offload overhead improvements, batch 2",
    "submitter": {
        "id": 92125,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/92125/?format=api",
        "name": "Arsen Arsenović",
        "email": "aarsenovic@baylibre.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/gcc/cover/20260505134929.3522938-1-aarsenovic@baylibre.com/mbox/",
    "series": [
        {
            "id": 502845,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/502845/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=502845",
            "date": "2026-05-05T13:14:59",
            "name": "GCN: Target offload overhead improvements, batch 2",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502845/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/covers/2233013/comments/",
    "headers": {
        "Return-Path": "<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=baylibre-com.20251104.gappssmtp.com\n header.i=@baylibre-com.20251104.gappssmtp.com header.a=rsa-sha256\n header.s=20251104 header.b=Ni7hDO/K;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)",
            "sourceware.org;\n\tdkim=pass (2048-bit key,\n unprotected) header.d=baylibre-com.20251104.gappssmtp.com\n header.i=@baylibre-com.20251104.gappssmtp.com header.a=rsa-sha256\n header.s=20251104 header.b=Ni7hDO/K",
            "sourceware.org;\n dmarc=none (p=none dis=none) header.from=baylibre.com",
            "sourceware.org; spf=pass smtp.mailfrom=baylibre.com",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=2a00:1450:4864:20::52a"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g90Ln1k9gz1yJV\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 05 May 2026 23:52:17 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 676BC4BA901F\n\tfor <incoming@patchwork.ozlabs.org>; Tue,  5 May 2026 13:52:15 +0000 (GMT)",
            "from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com\n [IPv6:2a00:1450:4864:20::52a])\n by sourceware.org (Postfix) with ESMTPS id 15C3D4BA9014\n for <gcc-patches@gcc.gnu.org>; Tue,  5 May 2026 13:50:08 +0000 (GMT)",
            "by mail-ed1-x52a.google.com with SMTP id\n 4fb4d7f45d1cf-67c3cb1433cso4446595a12.0\n for <gcc-patches@gcc.gnu.org>; Tue, 05 May 2026 06:50:08 -0700 (PDT)",
            "from localhost ([146.70.193.12])\n by smtp.googlemail.com with ESMTPSA id\n a640c23a62f3a-bc1671c1d3esm265323666b.42.2026.05.05.06.50.05\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 05 May 2026 06:50:05 -0700 (PDT)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 676BC4BA901F",
            "OpenDKIM Filter v2.11.0 sourceware.org 15C3D4BA9014"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 15C3D4BA9014",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 15C3D4BA9014",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777989008; cv=none;\n b=T1gWLNIypo7S2ZTPa3PrtrWJ9AzivPS3gfnu663TMepArsccv55MJ9tdFrWb1MPEGeGrXhoN0CdOZMOu9yOdAZZJLte340FKfDt7hY/HuNNxD3/4RAjJDm9MoS/nqzDtlcQnysy4QY6Rwf9Lbu3lbMtP8oeMiTn5s91MuWCa58w=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1777989008; c=relaxed/simple;\n bh=6rgIMd6QxVwnRwotIwDfLeChwQcG9Jg891HL2+9iDX0=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=ZGOzriBW0dM9NBRYN3FFoHqigZFVfv2QKEchk/K2Tss2URtpOH6I5yIdLCVxTh26kmFbWTS8olnSBNXVByFAJIYuInFOtIP3EdyvedV4eOS7zQQp6UXoQlRjnRrSVWRjdqI1X+2x2etLHsJe4i6VjofahEiytGoxYjr1mAtKDzA=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=baylibre-com.20251104.gappssmtp.com; s=20251104; t=1777989006;\n x=1778593806;\n darn=gcc.gnu.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=nZBExAblNdz/yqmop5WuAEH7FohCGuSowpz1Mer2cos=;\n b=Ni7hDO/Ksds3P/ZNVowxZgBBjcsNkj2goJR1qSks2nuf2R1aQMw/CCVH99vB5k+C2c\n 7o7U23ph6WeF11tsalV2GZkGl7UBaxilHXkd2vJ96wZXxzHrT5Cd3si6YraH4y3YLbpg\n 1IYYJektsYN8anLgN+TurJP8nCJwcMiZHmxJWZAv+t2tB07zVCxcry/1EnB7xOO3jauD\n QQyoRJjwzn8TQOAf7YAvdteF6L6sGgI2tRi16WIp93TOjQdhPGCQzVansbk7CPKxHib2\n 7vj8QyD6TEf5l3PUNGBIro3zXUzLOUcWqnHPOXAdJ+gC2D16eXEYEWSd7WyjaKbKv7DF\n l/kQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777989006; x=1778593806;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=nZBExAblNdz/yqmop5WuAEH7FohCGuSowpz1Mer2cos=;\n b=ff+LwbnRR7dWyGluN1qcPfBg7shNWn8lmDK5oLfZpG9O9l3TrsvGtaF/miV3sgcAz2\n 5iUMECtZRdA3EwUXeL34lcPrY7Teb+zkVfVeZUQhdbAc+75E6W5mirCd8YYJekBoVJGJ\n mNmA9EZgxWkNwwDUY7gN1PI0VZHXcOOcj8IOp3zKGBCc1vGr9zcWJEsk0tsKWK52REnY\n SJqczvidCDG8W7g8c6jT7ZVpwLPY7Hs4hH3gbyPq4DHbNarz/VqOFq8puYo1PRblf+wq\n d+VbmK+3haukdjmF2IRb58ljRrr2/AVVxb8/+jPKCc5ieCuZaB9jgIRX0/+6MujobPw0\n avpw==",
        "X-Gm-Message-State": "AOJu0YyqejGaO4ZR9yLd6WjSnlN2UnFmZ9WBhPmVNRzae+xC0LQSsQUs\n Q8H1ElGBYKt+EEwklmV0pMpmMr7M64afEB0oXhw7fy/I9I5mWuJRCBeZyOhWgqBLHbsxHxoQmcB\n zKpRYFE4=",
        "X-Gm-Gg": "AeBDietIDRauG6Haj7d1nBWbUPebAuTqcTLlYx5t7Hzk6AeZDwiybp5Nh+pTwmdboKV\n fYJYLjeYFNpGwqfuwOPk31RWt/GGSR9azqOafIU/CYX36CIzwZi2B7neZkiHq4F0HSWAqKbaLBi\n OwZtNl8Mp4GFe4Ld3FTURzA3ewEjO49vZYk3vpAB1OOrk9iN8sTzl3M2RJtoNpwjK5lpbmk2big\n v/cnSWrBbzG48kmUwEmUXeSKTVLdTYh0n+npM/J6bxvna5Ou0qgmM/B80tM/mi/1OCPnVEPKYAn\n fEJ3hTOwBV7qKIW2d+3wlazs9raKalVeoMm5BMzO+hCoF5Q2FMWNfLNhNGxqyq83dvy+G/cZNZu\n PK1zl5ZU0EJbhAzU/gCSzj1OTIadsU26ahzAFd3HNGtpruXbwltUyE7P3ja3g5WgTW25LIDJTAa\n lTocawUdpY25gtU76ELhiUE6GHel5skwGahfPY4t/tP/mkxw==",
        "X-Received": "by 2002:a17:906:7312:b0:bc3:5164:bc1 with SMTP id\n a640c23a62f3a-bc351640eecmr413759166b.10.1777989006249;\n Tue, 05 May 2026 06:50:06 -0700 (PDT)",
        "From": "=?utf-8?q?Arsen_Arsenovi=C4=87?= <aarsenovic@baylibre.com>",
        "To": "gcc-patches@gcc.gnu.org",
        "Cc": "=?utf-8?q?Arsen_Arsenovi=C4=87?= <aarsenovic@baylibre.com>",
        "Subject": "[PATCH 0/4] GCN: Target offload overhead improvements, batch 2",
        "Date": "Tue,  5 May 2026 15:14:56 +0200",
        "Message-ID": "<20260505134929.3522938-1-aarsenovic@baylibre.com>",
        "X-Mailer": "git-send-email 2.54.0",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "gcc-patches@gcc.gnu.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Gcc-patches mailing list <gcc-patches.gcc.gnu.org>",
        "List-Unsubscribe": "<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>",
        "List-Archive": "<https://gcc.gnu.org/pipermail/gcc-patches/>",
        "List-Post": "<mailto:gcc-patches@gcc.gnu.org>",
        "List-Help": "<mailto:gcc-patches-request@gcc.gnu.org?subject=help>",
        "List-Subscribe": "<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>",
        "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"
    },
    "content": "Hi!\n\nThis patch series further reduces overhead of launching kernels on GCN\ndevices on top of the already-landed patches, by removing a redundant\nallocation and reducing the overhead of constructing the target variable\ntable (the table of addresses of mapped variables in device memory) by\nmoving it into host memory and kernel arguments.  This then piggy-backs\noff of the kernel argument cache previously added to avoid allocating a\nnew target variable table in most cases.\n\nIt also introduces the concept of \"offload sessions\", that can be\nfurther expanded in the future, to carry the state required to start a\ntarget region.\n\nThis reduces the overhead of launching a kernel by ~27%.\n\nThe series also reduces the overhead of launching threads on the actual\nGCN device, by parallelizing thread initialization, akin to what the\npatch proposed by Matthew Malcomson does here:\nhttps://inbox.sourceware.org/gcc-patches/20251126131142.644866-6-mmalcomson@nvidia.com/\n\nArsen Arsenović (4):\n  libgomp/gcn: parallelize initializing threads of a team\n  libgomp: let plugins handle allocating the target variable table\n  libgomp/plugin-gcn: remove unneeded heap allocation in run_kernel\n  libgomp/oacc-mem: add missing assert to goacc_enter_datum\n\n include/gomp-constants.h                      |   2 +-\n libgomp/config/gcn/team.c                     | 121 ++++---\n libgomp/libgomp-plugin.h                      |  81 ++++-\n libgomp/libgomp.h                             |  58 +++-\n libgomp/oacc-host.c                           |  63 +++-\n libgomp/oacc-mem.c                            |  11 +-\n libgomp/oacc-parallel.c                       |  24 +-\n libgomp/plugin/plugin-gcn.c                   | 310 ++++++++++++------\n libgomp/plugin/plugin-nvptx.c                 |  45 ++-\n libgomp/target.c                              | 191 +++++++----\n libgomp/task.c                                |  33 +-\n .../gcn-kernel-launch-no-tvt-alloc.c          |  51 +++\n .../gcn-kernel-launch-tvt-alloc.c             |  16 +\n 13 files changed, 750 insertions(+), 256 deletions(-)\n create mode 100644 libgomp/testsuite/libgomp.c-c++-common/gcn-kernel-launch-no-tvt-alloc.c\n create mode 100644 libgomp/testsuite/libgomp.c-c++-common/gcn-kernel-launch-tvt-alloc.c"
}