Disabled CUDA timings
[alexxy/gromacs.git] / src / gromacs / mdlib / nbnxn_ocl / nbnxn_ocl_data_mgmt.cpp
index db5a61062582bef6806729f37acb5a84dd485fc7..559fcfd461595c555d6b5c7eca7993ac30f56987 100644 (file)
@@ -764,10 +764,8 @@ void nbnxn_gpu_init(gmx_nbnxn_ocl_t          **p_nb,
 
     init_plist(nb->plist[eintLocal]);
 
-    /* OpenCL timing disabled if GMX_DISABLE_OCL_TIMING is defined. */
-    /* TODO deprecate the first env var in the 2017 release. */
-    nb->bDoTime = (getenv("GMX_DISABLE_OCL_TIMING") == NULL &&
-                   getenv("GMX_DISABLE_GPU_TIMING") == NULL);
+    /* OpenCL timing disabled if GMX_DISABLE_GPU_TIMING is defined. */
+    nb->bDoTime = (getenv("GMX_DISABLE_GPU_TIMING") == NULL);
 
     /* Create queues only after bDoTime has been initialized */
     if (nb->bDoTime)