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
--000000000000997b4c061098ea2d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=E2=80=AFPM Steve Kargl <sgk@troutmask.apl.washi= ngton.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 p= er > > 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. 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 > > --000000000000997b4c061098ea2d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Sorry, I guess I was not clear on what you were asking. Ma= ybe OpenCL (from Kronos/OpenGL folks) is helpful. Good luck.<div><br></div>= <div><a href=3D"https://www.freshports.org/devel/opencl/">https://www.fresh= ports.org/devel/opencl/</a><br><div><br></div><div>Cheers,</div><div>Brett<= /div></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"g= mail_attr">On Sun, Feb 4, 2024 at 2:51=E2=80=AFPM Steve Kargl <<a href= =3D"mailto:sgk@troutmask.apl.washington.edu" target=3D"_blank">sgk@troutmas= k.apl.washington.edu</a>> wrote:<br></div><blockquote class=3D"gmail_quo= te" style=3D"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.=C2=A0 AMD = provides<br> ROCm and Nvidia supplies CUDA.=C2=A0 These appear to be available<br> for Windows and Linux.=C2=A0 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=E2=80=AFPM Steve Kargl <<a href=3D"mail= to:sgk@troutmask.apl.washington.edu" target=3D"_blank">sgk@troutmask.apl.wa= shington.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.=C2=A0 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.=C2=A0 AFAICT, this may require either porting<br> > > AMD ROCm software to FreeBSD or running it under the<br> > > linuxlator.<br> > ><br> > > <a href=3D"https://www.amd.com/en/products/software/rocm.html" re= l=3D"noreferrer" target=3D"_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> --000000000000997b4c061098ea2d--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALSf6fRPTbZeo2xaU6ica=SxSYQFT2v=VWVk3C6VA_SrS_do7w>