/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2018,2019,2020,2021, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#define GMX_GPU_UTILS_DEVICEBUFFER_H
/*! \libinternal \file
- * \brief Implements the logic for handling of DeviceBuffer types in OpenCL/CUDA.
+ * \brief Implements the logic for handling of DeviceBuffer types in OpenCL, CUDA and SYCL.
+ *
* Can only be included on GPU build paths.
*
+ * Note that most of the buffer operations have an early return, if the requested operation
+ * size is zero. This allows for calling these functions with zero operation size even when
+ * the underlying buffers were not properly intialized.
+ *
* \author Aleksei Iupinov <a.yupinov@gmail.com>
*
* \inlibraryapi