[gmx-developers] discussion of deprecation announcements in GROMACS 2021

Mark Abraham mark.j.abraham at gmail.com
Thu Dec 10 12:00:21 CET 2020


Hi,

There's a distant possibility that we could end up in a world where SYCL
provides our GPU schedules and different kernel flavors suit different
device versions and vendors in a way that is fast enough that the
maintenance of both CUDA + SYCL costs more than any performance
differential is worth. Note that the cost of an extra GROMACS GPU port
accrues both in maintaining each port and reducing our opportunities to do
algorithmic optimizations that is unlikely to be in scope for vendors to
support directly. But any such point is well over a year away!

That Apple no longer supports OpenCL likely means that codes like OpenMM
will stop working on Apple at some point. Whether anything relevant for HPC
would also work on Apple at some point is unknown (and IMO unlikely e.g.
AMD's HPC GPU stack doesn't work on Apple, Nvidia and Apple fell out some
years ago).

Mark

On Thu, 10 Dec 2020 at 11:47, David van der Spoel <spoel at xray.bmc.uu.se>
wrote:

> On 2020-12-10 09:54, Mark Abraham wrote:
> > Hi,
> >
> > The developers announce functionality as deprecated each year. That
> > gives users a chance to learn what changes may happen in future, so they
> > can plan how to adapt.
> >
> > I've proposed several things to deprecate at
> > https://gitlab.com/gromacs/gromacs/-/issues/3818
> > <https://gitlab.com/gromacs/gromacs/-/issues/3818> and want to
> encourage
> > people to consider those choices before I make an MR for the GROMACS
> > 2021 release notes.
> >
> > Often things we announce as deprecated remain that way for months or
> > years before we actually remove it. That's fine.
> >
> > The potentially controversial item is the proposed deprecation of OpenCL
> > support. We have active funded projects to implement support with SYCL
> > for Intel GPUs, and some as-yet undecided framework for AMD GPUs. When
> > those are in place, the usefulness of OpenCL as a portable approach for
> > GPU support in GROMACS has expired. We have not had the resources to
> > develop the current CUDA and OpenCL GPU code forks to the same extent,
> > and we are not going to be able to do that any better when SYCL and
> > perhaps HIP are also around. Continuing to support and test the OpenCL
> > functionality is work that we would need to do that costs us the
> > opportunity to further improve the ports we expect users to be using in
> > GROMACS 2022.
> >
> > So, when we have made enough progress on the Intel and AMD fronts, we
> > want the freedom to remove the OpenCL port, so that there's less work
> > for us to do and more freedom to adapt our GPU portability layer in the
> > directions it needs to move. I hope that will happen some time during
> > the 2021 calendar year, but it won't be January :-).
> >
> > Please feel free to discuss OpenCL here, and anything else at that
> > gitlab issue!
> >
> > Mark
> >
> The state of things with programming frameworks is rather miserable to
> say the least. From the link below I read that  HipSycl may cover both
> AMD and Nvidia GPUs. However, looking a bit closer, only the expensive
> AMD cards seem to be supported. We've been playing a bit with OpenMM
> recently that has extensive OpenCL support, and even on old laptops
> (Apple) that is a substantial improvement over using CPUs.
>
> https://unix.stackexchange.com/questions/612736/sycl-and-opencl-for-amd-gpu
>
> I guess there is no plan to abandon all the Nividia code in GROMACS for
> something else, right?
>
> --
> David van der Spoel, Ph.D.,
> Professor of Computational Molecular Biophysics
> Uppsala University.
> http://virtualchemistry.org
> --
> Gromacs Developers mailing list
>
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List before
> posting!
>
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers
> or send a mail to gmx-developers-request at gromacs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20201210/6472ad87/attachment-0001.html>


More information about the gromacs.org_gmx-developers mailing list