Fix one error and compiler warnings with Cuda & clang-3.6
[alexxy/gromacs.git] / src / gromacs / gmxlib / gmx_detect_hardware.cpp
index 96ea3c3db17b10c0d3a6d24fe914a94e730d061b..ff2e416d785e2725b83b0b378b6ebbab187b10e0 100644 (file)
@@ -82,6 +82,12 @@ const gmx_bool bGPUBinary = TRUE;
 const gmx_bool bGPUBinary = FALSE;
 #endif
 
+/* Names of the GPU detection/check results (see e_gpu_detect_res_t in hw_info.h). */
+const char * const gpu_detect_res_str[egpuNR] =
+{
+    "compatible", "inexistent", "incompatible", "insane"
+};
+
 static const char * invalid_gpuid_hint =
     "A delimiter-free sequence of valid numeric IDs of available GPUs is expected.";