Re: GPU programming?

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Sun, 04 Feb 2024 20:51:27 UTC
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