From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.ispras.ru (mail.ispras.ru [83.149.199.84]) by sourceware.org (Postfix) with ESMTPS id A09C23858C62 for ; Mon, 26 Sep 2022 17:45:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A09C23858C62 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=ispras.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=ispras.ru Received: from [10.10.3.121] (unknown [10.10.3.121]) by mail.ispras.ru (Postfix) with ESMTPS id 9362F4077B18; Mon, 26 Sep 2022 17:45:35 +0000 (UTC) Date: Mon, 26 Sep 2022 20:45:35 +0300 (MSK) From: Alexander Monakov To: Tobias Burnus cc: Jakub Jelinek , Tom de Vries , gcc-patches Subject: Re: [Patch] libgomp/nvptx: Prepare for reverse-offload callback handling In-Reply-To: Message-ID: References: <57b3ae5e-8f15-8bea-fa09-39bccbaa2414@codesourcery.com> <3f0fc49f-b07f-bee2-51a8-a5d03f1c33ed@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,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 List-Id: Hi. My main concerns remain not addressed: 1) what I said in the opening paragraphs of my previous email; 2) device-issued atomics are not guaranteed to appear atomic to the host unless using atom.sys and translating for CUDA compute capability 6.0+. Item 2 is a correctness issue. Item 1 I think is a matter of policy that is up to you to hash out with Jakub. On Mon, 26 Sep 2022, Tobias Burnus wrote: > In theory, compiling with "-m32 -foffload-options=-m64" or "-m32 > -foffload-options=-m32" or "-m64 -foffload-options=-m32" is supported. I have no words. Alexander