star-uvm

Spatial structuring of unstructured volumetric meshes
git clone git://git.meso-star.fr/star-uvm.git
Log | Files | Refs | README | LICENSE

commit f2eb526f9dea048d90d209e743c7c5825099416b
parent 914f6385d8b9321d1c20ff1d6d3a15131d754ec5
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Mon, 13 Nov 2023 12:33:18 +0100

Replace the -O2 compilation flag by -O3

Significant performance gains can be seen when using level 3 of the C
optimizer on code that depends heavily on finding the tetrahedron in
which a given position lies. We have measured performance gains of up to
30%.

Diffstat:
Mconfig.mk | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config.mk b/config.mk @@ -66,7 +66,7 @@ CFLAGS_COMMON =\ $(WFLAGS) CFLAGS_DEBUG = -g $(CFLAGS_COMMON) -CFLAGS_RELEASE = -O2 -DNDEBUG $(CFLAGS_COMMON) +CFLAGS_RELEASE = -O3 -DNDEBUG $(CFLAGS_COMMON) CFLAGS = $(CFLAGS_$(BUILD_TYPE)) CFLAGS_SO = $(CFLAGS) -fPIC