This is solved nicer in master with I943f90f, but there is little value
in backporting that compared to the effort, since more or less all
changes from there would conflict. This may fix compilation problems
with some nvcc/boost combinations.
Change-Id: I82a26c60d366bfe5fdbcfd8a17bffdb1139ce017
#include "pmalloc_cuda.h"
#include "gpu_utils.h"
-#include "gromacs/utility/common.h"
+// Hack for release-5-0 only to avoid a common.h dependency in CUDA code,
+// which causes issues with some nvcc/boost combinations.
+// Solved with a larger-scale header refactoring in master.
+#ifndef GMX_UNUSED_VALUE
+#define GMX_UNUSED_VALUE(value) (void)value
+#endif
static bool bUseCudaEventBlockingSync = false; /* makes the CPU thread block */