1 #include <cuda_runtime_api.h>
4 /* This macro checks the generated GMX_CUDA_VERSION against the CUDA runtime
5 * API version in cuda_runtime_api.h.
7 * From CUDA v7.5 it is expected that nvcc will define its own version; a check
8 * of that version should be implemented here later.
10 #if CUDART_VERSION != GMX_CUDA_VERSION
11 #error CUDA version mismatch: CUDART_VERSION != GMX_CUDA_VERSION