#include <config.h>
#endif
+#include <assert.h>
+#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
-#include <assert.h>
#include <cuda.h>
#include "gmx_fatal.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "tables.h"
#include "typedefs.h"
#include "types/enums.h"
pmalloc((void**)&ftmp, tabsize*sizeof(*ftmp));
table_spline3_fill_ewald_lr(ftmp, NULL, NULL, tabsize,
- 1/tabscale, nbp->ewald_beta);
+ 1/tabscale, nbp->ewald_beta, v_q_ewald_lr);
/* If the table pointer == NULL the table is generated the first time =>
the array pointer will be saved to nbparam and the texture is bound.
* priorities, because we are querying the priority range which in this
* case will be a single value.
*/
-#if CUDA_VERSION >= 5500
+#if CUDA_VERSION >= 5050
{
int highest_priority;
stat = cudaDeviceGetStreamPriorityRange(NULL, &highest_priority);