Add -funsafe-math-optimizations flag.

This commit is contained in:
Luigi Cruz
2023-07-23 17:08:27 -03:00
committed by GitHub
parent 7d401d530c
commit 114d8cfcb6
+1 -1
View File
@@ -22,7 +22,7 @@ wget https://karpathy.ai/llama2c/model.bin -P out
(if that doesn't work try [google drive](https://drive.google.com/file/d/1aTimLdx3JktDXxcHySNrZJOOk8Vb1qBR/view?usp=share_link)). Compile and run the C code:
```bash
gcc -O3 -o run run.c -lm
gcc -O3 -funsafe-math-optimizations -o run run.c -lm
./run out/model.bin
```