From 88b49d73de7549f2fbd5718eef25b848ab3c810c Mon Sep 17 00:00:00 2001 From: Roland Schulz Date: Sat, 23 Jun 2018 19:15:31 -0700 Subject: [PATCH] Allow GMX_OCL_DEBUG for any vendor Change-Id: Iefcce1a2881a5c979c2114a159799c08c779974e --- src/gromacs/gpu_utils/ocl_compiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gromacs/gpu_utils/ocl_compiler.cpp b/src/gromacs/gpu_utils/ocl_compiler.cpp index 62f8a4e75f..b58501913b 100644 --- a/src/gromacs/gpu_utils/ocl_compiler.cpp +++ b/src/gromacs/gpu_utils/ocl_compiler.cpp @@ -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"; } -- 2.22.0