aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2021-10-22 15:33:06 -0400
committertslil <tslil@posteo.de>2021-10-22 15:33:06 -0400
commit8908c6e19b8508bd6eab0107f6930dfc52905934 (patch)
treeaa5d973900e1a8cab3ec06282ebadc24670d0853 /Makefile
parent3dd2bf6b5a2a102f257bd7822c3a95db20ea317c (diff)
--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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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)