Allow GMX_OCL_DEBUG for any vendor
authorRoland Schulz <roland.schulz@intel.com>
Sun, 24 Jun 2018 02:15:31 +0000 (19:15 -0700)
committerMark Abraham <mark.j.abraham@gmail.com>
Sun, 24 Jun 2018 12:06:55 +0000 (14:06 +0200)
Change-Id: Iefcce1a2881a5c979c2114a159799c08c779974e

src/gromacs/gpu_utils/ocl_compiler.cpp

index 62f8a4e75f7a872f08b06fe4156ec0188c8ed768..b58501913b1c0ac6ef6229711cd48895633386a5 100644 (file)
@@ -195,7 +195,7 @@ selectCompilerOptions(ocl_vendor_id_t deviceVendorId)
         }
     }
 
-    if ( ( deviceVendorId == OCL_VENDOR_AMD ) && getenv("GMX_OCL_DEBUG"))
+    if (getenv("GMX_OCL_DEBUG"))
     {
         compilerOptions += " -g";
     }