From 7cf3a656d0c923dd92025c09747461f2f2d1bed0 Mon Sep 17 00:00:00 2001 From: tslil clingman Date: Fri, 22 Oct 2021 15:33:06 -0400 Subject: --fast-math seems saves some time That i can tell at a glance, the largest relevant change this introduces is flush-to-zero for floats. Some testing is required to ensure that the CNN isn't too sensitive to this. Preferable to that option is to simply train it without relying on subnormal floats in the first place. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a7a1791..0fa5237 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ IDIR=include DEFINES=-DDETERMINISTIC -CFLAGS=-O3 -Wall -Wextra -Wpedantic -std=c99 -D_DEFAULT_SOURCE $(DEFINES) -I$(IDIR) +CFLAGS=-O3 --fast-math -Wall -Wextra -Wpedantic -std=c99 -D_DEFAULT_SOURCE $(DEFINES) -I$(IDIR) CTAK=include/tak.c CTAK_OBJS=$(CTAK:.c=.o) -- cgit v1.2.3