From nobody Sun Feb 4 20:16:05 2024 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TSglK5G1nz58jS3 for ; Sun, 4 Feb 2024 20:16:45 +0000 (UTC) (envelope-from estrabd@gmail.com) Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TSglK3Yf3z47y2 for ; Sun, 4 Feb 2024 20:16:45 +0000 (UTC) (envelope-from estrabd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-51117bfd452so6288977e87.3 for ; Sun, 04 Feb 2024 12:16:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707077803; x=1707682603; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=AhN+8fjcTVoFiWLmgBmIHWCWdnbGcbSlKyYemWYa8sw=; b=myuTKe304s8TFfUUrHDt7H+Go7o77blDzPmLuLu2oI11XfupdlMjsnRVMDM19Ge2WM HPr0hddBkgYnR6PoUlxMGv0LVuYFqjQht2ZAYPX+iitmh+OyemD6jOLkAMveiM8LMDpf t+YSHPG4pgvYjVn20X9He2ca5p43w117n2gQhM+p+oXCOUbl73NAUtqvaiwSUtxp9szR lft9Fa2tNh1cmE3jPY/gOuwtDmSx2kflgaMBFJKqr7Pgf/KQkKvQsD8t44025L3VbuyY dL0/yhQl0xHZG3q72Lvq4bifpgkmqGstNtNvRkQrHVQ3+imCYFwjZPxG/6VK3d+nwiMc 2a2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707077803; x=1707682603; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AhN+8fjcTVoFiWLmgBmIHWCWdnbGcbSlKyYemWYa8sw=; b=uAbAvTmX5MnIGHYj8kovAu/pB/WAZsLpv7rXGdUh53E1hegRSi8t8vyKbDiSx0ioc/ Zxf5EgJsuazvE0ArqZ9j96eZ3ckj+jTmlLT+6nJouh6jMi2mPpAuHWuscWjwk5g+qSjt tEN765RnGSR1tnRAIYJ2kZvP3O93LM7mf292JISuiRMv0DF+K3j7srt4qaPGIysX1SVv Da+jqXccNpHFYfOFPXhAKEfUshhyZMu4SWi6OQ0lzMAV97XUINRbc2C53XEkRTHc71FU o/d9MxLtd5+U2Y1dBq+EqLDXeHPouqfsPnFPAavy7+DOLjD6Fb2Kgr9LfojOp89IF5TY 2sCw== X-Gm-Message-State: AOJu0Yxy/kGr2/kbEc8isUd81H2V20usMWJYraa/ESg0AlFKJsPHXX/g EEFOZZEKZmMSopka0xDGMkncz+9kfmpftN3F28EMtF0AcLMPd31LeQ2qZBmzaUz+RncYmlEeaLt 8h+J2yul3C7M39NGqTyfNXvIHWksySH89 X-Google-Smtp-Source: AGHT+IF3MhMEbePypqMjtaeb1i1s2gPVuBCjKSmvDRG/L0mXLcQd4/HEsa1Ff5a3TdVaqYrCocl62nv7dEhDnQ1J3JU= X-Received: by 2002:a05:6512:239a:b0:511:4752:fbb8 with SMTP id c26-20020a056512239a00b005114752fbb8mr3134581lfv.37.1707077802308; Sun, 04 Feb 2024 12:16:42 -0800 (PST) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: "B. E." Date: Sun, 4 Feb 2024 14:16:05 -0600 Message-ID: Subject: Re: GPU programming? To: sgk@troutmask.apl.washington.edu Cc: freebsd-hackers@freebsd.org Content-Type: multipart/alternative; boundary="00000000000002ba560610940672" X-Rspamd-Queue-Id: 4TSglK3Yf3z47y2 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] --00000000000002ba560610940672 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable gcc (and gfortran) has supported OpenMP for a very long time via their GOMP (pthreads underneath), not sure about LLVM based support or offloading (via the latest supported OpenMP specification) to accelerators on FreeBSD per se. What are you looking for in terms of OS support? Cheers, Brett On Sun, Feb 4, 2024 at 1:02=E2=80=AFPM Steve Kargl wrote: > Is anyone aware of work towards GPU programming on FreeBSD? > > Here, I am not interested in using a GPU while playing a > video game or rendering graphics on a video monitor. I'm > interested in offloading single and double precision > floating-point computations to a GPU via OpenACC or OpenMP > (ala HPC). > > Although using a high-end AMD Instinct MI300 would be great, > I'm looking for something a bit more affordable such as an > AMD RX 6700 XT. AFAICT, this may require either porting > AMD ROCm software to FreeBSD or running it under the > linuxlator. > > https://www.amd.com/en/products/software/rocm.html > > -- > Steve > > --00000000000002ba560610940672 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
gcc (and gfortran) has supported OpenMP for a very long ti= me via their GOMP (pthreads underneath), not sure about LLVM based support = or offloading (via the latest supported OpenMP specification) to accelerato= rs on FreeBSD per se. What are you looking for in terms of OS support?
=
Cheers,
Brett

On Sun, Feb 4, 2024 at 1:02=E2= =80=AFPM Steve Kargl <sgk@troutmask.apl.washington.edu> wrote:
Is anyone aware of work= towards GPU programming on FreeBSD?

Here, I am not interested in using a GPU while playing a
video game or rendering graphics on a video monitor.=C2=A0 I'm
interested in offloading single and double precision
floating-point computations to a GPU via OpenACC or OpenMP
(ala HPC).

Although using a high-end AMD Instinct MI300 would be great,
I'm looking for something a bit more affordable such as an
AMD RX 6700 XT.=C2=A0 AFAICT, this may require either porting
AMD ROCm software to FreeBSD or running it under the
linuxlator.

https://www.amd.com/en/products/software/rocm.html=

--
Steve

--00000000000002ba560610940672--