From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by sourceware.org (Postfix) with ESMTPS id D9D6D3858D20 for ; Fri, 4 Feb 2022 07:21:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D9D6D3858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com IronPort-SDR: KYPqkYeJ9LTv6BfsfSnwNnfG3koiTlPVmLRXaw93BTbi/pITntVm58Arv8OWB8nojSm1ecNtzg L2A4HCYvZ9jWjOffVCsAZdFS7dj2p76N2Iuf7MHbsh8ZJDWx9J0/RY0hF6YfZnFNxNSL7O3fbv eHpQwofkfKZeBkRXj4cgitfUl42VfhonddwT6qjvzrAytQFFrAXIkxpuufYxAxxMglqWHtAc3o rdy1OlwyJ2+7YDFnRSt9ieOctjiL2pu0KfCBY5OrzokPQzzLbCg00zvCpzfEm8S9Cnn/9DU8vZ I/GWxuZXePWOAXXeK5Oacsr9 X-IronPort-AV: E=Sophos;i="5.88,342,1635235200"; d="scan'208";a="71420991" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa3.mentor.iphmx.com with ESMTP; 03 Feb 2022 23:21:39 -0800 IronPort-SDR: XMNIH+nvXPpQ+09Aok3Tc/vutsMbYBBPFgaiAymfFSyGVCUl+xX8LSMXS49WrwwY344Yix0h+F LbiSd6mH1y37SGQdSJbe6qQdRUOQPgfRFMOgfNGNeIu3xCOX7+uidSicXTv+uYzwK+Ub0Hx6U/ Cig9224RWSTzwJTsnPheaAYRRcdlnrmupWvjgSrzP9y6C7uKJkRHx7KBzRXhbAEO4eMQxnde97 GiP6Gc7Ii70mqswSoWGVSX7vAyIhHVsT/8X6VSIbZHxFBsLWjZcuYmIy5UNOt7Pi4PshHeKPZ0 83M= From: Thomas Schwinge To: Tom de Vries CC: Subject: nvptx multilib setup (was: [Bug target/104364] [12 Regression] OpenMP/nvptx regressions after "[nvptx] Add some support for .local atomics") In-Reply-To: References: User-Agent: Notmuch/0.29.3+94~g74c3f1b (https://notmuchmail.org) Emacs/27.1 (x86_64-pc-linux-gnu) Date: Fri, 4 Feb 2022 08:21:29 +0100 Message-ID: <87r18jt7uu.fsf@euler.schwinge.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_SHORT, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Feb 2022 07:21:41 -0000 Hi Tom! Taking this one to the mailing list; not directly related to PR104364: On 2022-02-03T13:35:55+0000, "vries at gcc dot gnu.org via Gcc-bugs" wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D104364 > I've tested this using (recommended) driver 470.94 on boards: (As not every user will be using the recommended/latest, I too am doing some testing also on oldish Nvidia/CUDA Driver versions.) Combinatorial explosion is a problem, of course... > while iterating over dimensions { -mptx=3D3.1 , -mptx=3D6.3 } x { GOMP_NV= PTX_JIT=3D-O0, }. Do you use separate (nvptx-none offload target only?) builds for different '-mptx' variants (likewise: '-misa'), or have you hacked up the multilib configuration? ('gcc/config/nvptx/t-nvptx:MULTILIB_OPTIONS' etc., I suppose?) Should we add a few representative configurations to be built by default? And/or, should we have a way to 'configure' per user needs (I suppose: '--with-multilib-list=3D[...]', as supported for a few other targets?)? (I see there's also a new '--with-multilib-generator=3D[...]', haven't looked in detail.) No matter which way: again, combinatorial explosion is a problem, of course... For example, in addition to the default (fiji/gfx803) for GCN we've got: gcc/config/gcn/t-gcn-hsa:MULTILIB_OPTIONS =3D march=3Dgfx900/march=3Dgf= x906/march=3Dgfx908 gcc/config/gcn/t-gcn-hsa:MULTILIB_DIRNAMES =3D gfx900 gfx906 gfx908 Gr=C3=BC=C3=9Fe Thomas ----------------- 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