From fccc16f42ca00aee745a6d6833b10e3072b7fa77 Mon Sep 17 00:00:00 2001
From: Axel Kohlmeyer <akohlmey@gmail.com>
Date: Tue, 8 May 2018 00:50:23 -0400
Subject: [PATCH] tune OpenCL for generic architecture by default

---
 lib/gpu/Makefile.linux_opencl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/gpu/Makefile.linux_opencl b/lib/gpu/Makefile.linux_opencl
index e635890778..640562dca5 100644
--- a/lib/gpu/Makefile.linux_opencl
+++ b/lib/gpu/Makefile.linux_opencl
@@ -6,10 +6,10 @@
 
 EXTRAMAKE = Makefile.lammps.opencl
 
-OCL_TUNE = -DFERMI_OCL       # -- Uncomment for NVIDIA Fermi
+# OCL_TUNE = -DFERMI_OCL       # -- Uncomment for NVIDIA Fermi
 # OCL_TUNE = -DKEPLER_OCL    # -- Uncomment for NVIDIA Kepler
 # OCL_TUNE = -DCYPRESS_OCL   # -- Uncomment for AMD Cypress
-# OCL_TUNE = -DGENERIC_OCL   # -- Uncomment for generic device
+OCL_TUNE = -DGENERIC_OCL   # -- Uncomment for generic device
 
 # this setting should match LAMMPS Makefile
 # one of LAMMPS_SMALLBIG (default), LAMMPS_BIGBIG and LAMMPS_SMALLSMALL
-- 
GitLab