[cig-commits] [commit] devel: enable MANUALLY UNROLL LOOPS by default (d08fd18)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Wed Jun 4 12:58:24 PDT 2014
Repository : https://github.com/geodynamics/specfem3d_globe
On branch : devel
Link : https://github.com/geodynamics/specfem3d_globe/compare/754300e5a26e2a5d17069e661645fe819a7857a1...cd83b686a7c6014e132933f685157d43151a665e
>---------------------------------------------------------------
commit d08fd1836da35b2e6ed2a562b800dd749c3fd999
Author: Kevin Pouget <kevin.pouget at imag.fr>
Date: Wed May 14 10:44:12 2014 +0200
enable MANUALLY UNROLL LOOPS by default
>---------------------------------------------------------------
d08fd1836da35b2e6ed2a562b800dd749c3fd999
src/gpu/mesh_constants_gpu.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gpu/mesh_constants_gpu.h b/src/gpu/mesh_constants_gpu.h
index 246bcb4..7bf176c 100644
--- a/src/gpu/mesh_constants_gpu.h
+++ b/src/gpu/mesh_constants_gpu.h
@@ -207,8 +207,8 @@ typedef float realw;
#endif
// (optional) unrolling loops
-// leads up to ~1% performance increase
-//#define MANUALLY_UNROLLED_LOOPS
+// leads up to ~10% performance increase in OpenCL and ~1% in Cuda
+#define MANUALLY_UNROLLED_LOOPS
// compiler specifications
// (optional) use launch_bounds specification to increase compiler optimization
More information about the CIG-COMMITS
mailing list