Re: GPU programming?

From: Christian Moerz <freebsd_at_ny-central.org>
Date: Sun, 04 Feb 2024 20:58:05 UTC
Hi Steve
I believe, this is one of the work packages of the Enterprise Working Group. I recommend reaching out to Greg Wallace. He should be able to loop you in, if you're interested in participating in the work.

https://wiki.freebsd.org/EnterpriseWorkingGroup

Chris
________________________________
From: owner-freebsd-hackers@freebsd.org <owner-freebsd-hackers@freebsd.org> on behalf of Steve Kargl <sgk@troutmask.apl.washington.edu>
Sent: Sunday, February 4, 2024 9:51:27 PM
To: B. E. <estrabd@gmail.com>
Cc: freebsd-hackers@freebsd.org <freebsd-hackers@freebsd.org>
Subject: Re: GPU programming?

See the second paragraph of my initial post.  AMD provides
ROCm and Nvidia supplies CUDA.  These appear to be available
for Windows and Linux.  Are there any software/hardware drivers
required to actually accomplish the offloading?

--
steve



On Sun, Feb 04, 2024 at 02:16:05PM -0600, B. E. wrote:
> 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 PM 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.  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
> >
> >

--
Steve