/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014, 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.
#ifndef PMALLOC_CUDA_H
#define PMALLOC_CUDA_H
-#include "types/simple.h"
+#include "config.h"
+
+#include <stdlib.h>
+
+#include "gromacs/legacyheaders/types/simple.h"
#ifdef GMX_GPU
#define FUNC_TERM ;
extern "C" {
#endif
-/*! Allocates nbytes of page-locked memory. */
+/** Allocates nbytes of page-locked memory. */
void pmalloc(void gmx_unused **h_ptr, size_t gmx_unused nbytes) FUNC_TERM
-/*! Allocates nbytes of page-locked memory with write-combining. */
+/** Allocates nbytes of page-locked memory with write-combining. */
void pmalloc_wc(void gmx_unused **h_ptr, size_t gmx_unused nbytes) FUNC_TERM
-/*! Frees page locked memory allocated with pmalloc. */
+/** Frees page locked memory allocated with pmalloc. */
void pfree(void gmx_unused *h_ptr) FUNC_TERM
#ifdef __cplusplus