From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa4.mentor.iphmx.com (esa4.mentor.iphmx.com [68.232.137.252]) by sourceware.org (Postfix) with ESMTPS id ED8F03858D1E for ; Wed, 29 Mar 2023 20:39:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org ED8F03858D1E 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.98,301,1673942400"; d="scan'208";a="819414" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa4.mentor.iphmx.com with ESMTP; 29 Mar 2023 12:39:10 -0800 IronPort-SDR: WumVcrXtQtre/AfwyV6GaBgodq4vTsZg3q7LJz5Ptjna7ll/gax7gCweNjg+gLRvFU1GY2gEMZ hAJPg26by7aPwR/+PvEsoo4LrZ4nweoAM4dY8WdYmcp3CCtGvXm2CfHf6UxZn5fOivkLCc5fJY 9ZcuBSa2LAG8y0ynzrINqTZcuIztGWof0ZAcf2pDVB7H6g2TyZFiXcOTN8XO3k6oQkwGNZTaJg d3Rdxsya1Cmqc6IfYoyNhTO6e7evP/o4MZUW9XlEdK962XOXP07Km0RtQv6wl/QyHi7zg2Q36V 8p4= From: Thomas Schwinge To: Adi Prasad CC: , Tobias Burnus Subject: Re: GSoC Separate Host Process Offloading In-Reply-To: References: User-Agent: Notmuch/0.29.3+94~g74c3f1b (https://notmuchmail.org) Emacs/28.2 (x86_64-pc-linux-gnu) Date: Wed, 29 Mar 2023 22:39:02 +0200 Message-ID: <87cz4rthqx.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-10.mgc.mentorg.com (139.181.222.10) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,KAM_SHORT,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no 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 Adi! On 2023-03-28T20:39:04+0000, "Prasad, Adi via Gcc" wrote: > I=E2=80=99m Adi Prasad, a 2nd year Computing student at Imperial College = London, interested in doing the Separate Host Process Offloading GSoC proje= ct this summer. Greak, and welcome to GCC! :-) > First off, I=E2=80=99m aware I=E2=80=99m getting in touch very late; I ha= ve been busy up until now with a university project deadline. I am however = determined to work as hard as I need to this week to catch up for my late s= tart; I hope you are still willing to consider me. No worries, you're to too late; no decisions have been made, yet. > I was wondering if the devs had any recommendations for starter issues to= work on (or simpler tasks like tests and documentation) that would help me= familiarise myself with the relevant code? Building GCC and producing test results would be one obvious first task. and have some pointers to get started. If you have specific questions, we're happy to help, of course. Then, get familiar with the basic concepts of code offloading in GCC. is the best (only?) we have, unfortunately, and it's somewhat out of date, so beware, sorry. Looking at existing libgomp plugins may help: 'libgomp/plugin/plugin-*.c' (The 'GOMP_OFFLOAD_[...]' functions implement the offloading plugin API), and actually also the very simple 'libgomp/oacc-host.c'. That's essentially the API you need to care about (for OpenACC; but OpenMP 'target' also won't require much more, for a start). Make some thoughts (or actual experiments) about how we could use/implement a separate host process for code offloading. > Thank you for reading this, and I will stay in touch as I develop my prop= osal! Yes, please do. In particular, think about a timeline for your proposal. 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