gputest.cpp
# Tests of code
clfftinitializer.cpp
+ device_stream_manager.cpp
hostallocator.cpp
+ pinnedmemorychecker.cpp
+ typecasts.cpp
CUDA_CU_SOURCE_FILES
devicetransfers.cu
devicetransfers_ocl.cpp
NON_GPU_CPP_SOURCE_FILES
- device_stream_manager.cpp
devicetransfers.cpp
)
*/
#include "gmxpre.h"
-#include <vector>
+#include "config.h"
-#include <gtest/gtest.h>
+#if GMX_GPU_CUDA
-#include "gromacs/gpu_utils/gpu_utils.h"
-#include "gromacs/gpu_utils/hostallocator.h"
-#include "gromacs/gpu_utils/pmalloc_cuda.h"
-#include "gromacs/utility/real.h"
-#include "gromacs/utility/smalloc.h"
+# include <vector>
-#include "gputest.h"
+# include <gtest/gtest.h>
+
+# include "gromacs/gpu_utils/gpu_utils.h"
+# include "gromacs/gpu_utils/hostallocator.h"
+# include "gromacs/gpu_utils/pmalloc_cuda.h"
+# include "gromacs/utility/real.h"
+# include "gromacs/utility/smalloc.h"
+
+# include "gputest.h"
namespace gmx
{
} // namespace
} // namespace test
} // namespace gmx
+
+#endif // GMX_GPU_CUDA
*/
#include "gmxpre.h"
-#include <vector>
+#include "config.h"
-#include <gtest/gtest.h>
+#if GMX_GPU_CUDA
-#include "gromacs/gpu_utils/gpu_testutils.h"
-#include "gromacs/utility/exceptions.h"
+# include <vector>
-#include "testutils/testasserts.h"
-#include "testutils/testmatchers.h"
+# include <gtest/gtest.h>
-#include "typecasts_runner.h"
+# include "gromacs/gpu_utils/gpu_testutils.h"
+# include "gromacs/utility/exceptions.h"
+
+# include "testutils/testasserts.h"
+# include "testutils/testmatchers.h"
+
+# include "typecasts_runner.h"
namespace gmx
{
} // namespace test
} // namespace gmx
+
+#endif // GMX_GPU_CUDA