Allow GMX_OCL_DEBUG for any vendor
[alexxy/gromacs.git] / 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";
     }