diff options
| author | Onur Gündüz <ogunduz@gmail.com> | 2026-06-08 04:45:49 +0200 |
|---|---|---|
| committer | Onur Gündüz <ogunduz@gmail.com> | 2026-06-14 08:27:03 +0200 |
| commit | 6554530a57a6d73ff58cdf7e601ec3cab824a4c1 (patch) | |
| tree | cc84a894195cfd40dd310fa60e6dc92de0e9c684 /Makefile | |
| parent | 1c708cfbfab4361861b3ea5600af1d2bd8b7daf2 (diff) | |
| download | ffwd-6554530a57a6d73ff58cdf7e601ec3cab824a4c1.tar.gz ffwd-6554530a57a6d73ff58cdf7e601ec3cab824a4c1.zip | |
kernels: fix OpenBLAS thread contention and numerical instability
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,7 @@ CC = gcc -CFLAGS_BASE = -Wall -Wextra -O3 -march=native -ffast-math +# Keep IEEE math semantics by default. Some GCC/OpenBLAS Linux builds produced +# NaN embeddings with -ffast-math. +CFLAGS_BASE = -Wall -Wextra -O3 -march=native LDFLAGS = -lm -lpthread CJSON_CFLAGS ?= $(shell sh -c 'pkg-config --cflags libcjson 2>/dev/null') CJSON_LDFLAGS ?= $(shell sh -c 'pkg-config --libs libcjson 2>/dev/null') |
