Merge release-2018 into master
[alexxy/gromacs.git] / src / gromacs / gpu_utils / gpu_utils.h
index c4d15153cb43cc4f3c2cb498646523cc8f1f1d3e..01dcec9203a476eb05601ded924fb80400d563f5 100644 (file)
@@ -80,7 +80,12 @@ enum class GpuTaskCompletion
  * Returns true when this is a build of \Gromacs configured to support
  * GPU usage, and a valid device driver, ICD, and/or runtime was detected.
  *
- * \param[out] errorMessage  When returning false and non-nullptr was passed,
+ * This function is not intended to be called from build
+ * configurations that do not support GPUs, and there will be no
+ * descriptive message in that case.
+ *
+ * \param[out] errorMessage  When returning false on a build configured with
+ *                           GPU support and non-nullptr was passed,
  *                           the string contains a descriptive message about
  *                           why GPUs cannot be detected.
  *