Date: Sun, 4 Feb 2024 20:06:20 -0600 From: "B. E." <estrabd@gmail.com> To: sgk@troutmask.apl.washington.edu Cc: freebsd-hackers@freebsd.org Subject: Re: GPU programming? Message-ID: <CALSf6fRPTbZeo2xaU6ica=SxSYQFT2v=VWVk3C6VA_SrS_do7w@mail.gmail.com> In-Reply-To: <Zb_4z5IKLl5yuXTJ@troutmask.apl.washington.edu> References: <Zb_fTkeKTYSxpfKc@troutmask.apl.washington.edu> <CALSf6fRJA861r7XF=fOWOdfc7-AzGePa6r5P=bBA9-x-36LB4Q@mail.gmail.com> <Zb_4z5IKLl5yuXTJ@troutmask.apl.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Sorry, I guess I was not clear on what you were asking. Maybe OpenCL (from Kronos/OpenGL folks) is helpful. Good luck. https://www.freshports.org/devel/opencl/ Cheers, Brett On Sun, Feb 4, 2024 at 2:51 PM Steve Kargl <sgk@troutmask.apl.washington.edu> wrote: > 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 > > [-- Attachment #2 --] <div dir="ltr">Sorry, I guess I was not clear on what you were asking. Maybe OpenCL (from Kronos/OpenGL folks) is helpful. Good luck.<div><br></div><div><a href="https://www.freshports.org/devel/opencl/">https://www.freshports.org/devel/opencl/</a><br><div><br></div><div>Cheers,</div><div>Brett</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 4, 2024 at 2:51 PM Steve Kargl <<a href="mailto:sgk@troutmask.apl.washington.edu" target="_blank">sgk@troutmask.apl.washington.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">See the second paragraph of my initial post. AMD provides<br> ROCm and Nvidia supplies CUDA. These appear to be available<br> for Windows and Linux. Are there any software/hardware drivers<br> required to actually accomplish the offloading? <br> <br> -- <br> steve<br> <br> <br> <br> On Sun, Feb 04, 2024 at 02:16:05PM -0600, B. E. wrote:<br> > gcc (and gfortran) has supported OpenMP for a very long time via their GOMP<br> > (pthreads underneath), not sure about LLVM based support or offloading (via<br> > the latest supported OpenMP specification) to accelerators on FreeBSD per<br> > se. What are you looking for in terms of OS support?<br> > <br> > Cheers,<br> > Brett<br> > <br> > On Sun, Feb 4, 2024 at 1:02 PM Steve Kargl <<a href="mailto:sgk@troutmask.apl.washington.edu" target="_blank">sgk@troutmask.apl.washington.edu</a>><br> > wrote:<br> > <br> > > Is anyone aware of work towards GPU programming on FreeBSD?<br> > ><br> > > Here, I am not interested in using a GPU while playing a<br> > > video game or rendering graphics on a video monitor. I'm<br> > > interested in offloading single and double precision<br> > > floating-point computations to a GPU via OpenACC or OpenMP<br> > > (ala HPC).<br> > ><br> > > Although using a high-end AMD Instinct MI300 would be great,<br> > > I'm looking for something a bit more affordable such as an<br> > > AMD RX 6700 XT. AFAICT, this may require either porting<br> > > AMD ROCm software to FreeBSD or running it under the<br> > > linuxlator.<br> > ><br> > > <a href="https://www.amd.com/en/products/software/rocm.html" rel="noreferrer" target="_blank">https://www.amd.com/en/products/software/rocm.html</a><br> > ><br> > > --<br> > > Steve<br> > ><br> > ><br> <br> -- <br> Steve<br> <br> </blockquote></div>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALSf6fRPTbZeo2xaU6ica=SxSYQFT2v=VWVk3C6VA_SrS_do7w>
