Unify CUDA and OpenCL lookup-table creation
[alexxy/gromacs.git] / src / gromacs / gpu_utils / devicebuffer_ocl.h
index 40d72761baa4ea4a3c6e181a35c7a684dd6cd021..6840195d2687d3f1a3ca7e773a59a4dc66b4f555 100644 (file)
@@ -187,7 +187,7 @@ void copyFromDeviceBuffer(ValueType*               hostBuffer,
 {
     if (numValues == 0)
     {
-        return; // such calls are actually made with empty domains
+        return;
     }
     GMX_ASSERT(buffer, "needs a buffer pointer");
     GMX_ASSERT(hostBuffer, "needs a host buffer pointer");