From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com [68.232.129.153]) by sourceware.org (Postfix) with ESMTPS id 4CEE2385843E for ; Fri, 8 Jul 2022 09:57:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4CEE2385843E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.92,255,1650960000"; d="scan'208";a="81170860" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa1.mentor.iphmx.com with ESMTP; 08 Jul 2022 01:57:13 -0800 IronPort-SDR: Q8scJ+W2Qyv/qmzW8Bf4rTA5setBAtMfsoqdwo8N1vQLwZczPF8aUFKmbL2wmQTHIckOv14bd+ qbvr1vU8MvvS//0o6xFc1yDZ7SMvJYOWoAifXAUAA63kWxEjhFHuug3VmKPIx46si38jKtDJeD ckfFRAnx7ykwJYyucheGIbdOyLa814ylm8FA4JF4PwNrknA+HsOiLrB9LVt2SvR/TxAP5PERoa xQFqcjcKipaqf0SaETbZEYWxCeUwvdBV1xdRWMKtWPherqRzQq29xnJhNIeKT2Vs9t2yvzfvOS Dzs= Message-ID: <61c590cf-6d6c-d288-b338-30bcbfb377ca@codesourcery.com> Date: Fri, 8 Jul 2022 11:57:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 08/17] openmp: -foffload-memory=pinned Content-Language: en-US To: Andrew Stubbs , References: <8011a994bb38db60f37127880b0fc682564f6e8d.1657188329.git.ams@codesourcery.com> <397f6b84-9d45-379a-5402-76a8ac11f08e@codesourcery.com> <4dba87f8-2375-d6ad-1289-b8de95014b3a@codesourcery.com> <2d973ffb-6e31-b8c6-f32f-86fac369c6eb@codesourcery.com> From: Tobias Burnus In-Reply-To: <2d973ffb-6e31-b8c6-f32f-86fac369c6eb@codesourcery.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-15.mgc.mentorg.com (139.181.222.15) To svr-ies-mbx-12.mgc.mentorg.com (139.181.222.12) X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, NICE_REPLY_A, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no 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: , X-List-Received-Date: Fri, 08 Jul 2022 09:57:16 -0000 On 08.07.22 11:55, Andrew Stubbs wrote: > It's not incompatible with GCN offloading, only with the XNACK mode in > which the binary was compiled (i.e. USM on or off). > > The message could be less terse, indeed. I went through a variety of > messages for this and couldn't find one that I liked. How about... > > fatal error: HSA_XNACK=3D%s is set but this program was compiled for > HSA_XNACK=3D%s; please unset your environment variable. For what it is worth: I like this message. Thanks, Tobias ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstra=C3=9Fe 201= , 80634 M=C3=BCnchen; Gesellschaft mit beschr=C3=A4nkter Haftung; Gesch=C3= =A4ftsf=C3=BChrer: Thomas Heurung, Frank Th=C3=BCrauf; Sitz der Gesellschaf= t: M=C3=BCnchen; Registergericht M=C3=BCnchen, HRB 106955