[cig-commits] [commit] devel, master: enable MANUALLY UNROLL LOOPS by default (d08fd18)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Thu Nov 6 08:15:45 PST 2014


Repository : https://github.com/geodynamics/specfem3d_globe

On branches: devel,master
Link       : https://github.com/geodynamics/specfem3d_globe/compare/bc58e579b3b0838a0968725a076f5904845437ca...be63f20cbb6f462104e949894dbe205d2398cd7f

>---------------------------------------------------------------

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