Skip to content

Commit

Permalink
complete-refactor (#163)
Browse files Browse the repository at this point in the history
ELO   | 0.19 +- 3.07 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=32MB
LLR   | 2.98 (-2.94, 2.94) [-5.00, 0.00]
GAMES | N: 23472 W: 5619 L: 5606 D: 12247
bench: 3853493
  • Loading branch information
connormcmonigle authored Jul 2, 2023
1 parent b558ca6 commit 615292a
Show file tree
Hide file tree
Showing 99 changed files with 7,214 additions and 5,510 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ build/*
!build/makefile-clang
*~
.vscode/*
.idea/*
cmake-build-debug/*
4 changes: 2 additions & 2 deletions build/makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
EXE = seer
SRC = ../src/seer.cc ../syzygy/tbprobe.c
SRC = ../src/seer.cc ../syzygy/tbprobe.c ../src/search/*.cc ../src/chess/*.cc ../src/engine/*.cc
CC = g++

EVALFILE = weights/0xddf7a131.bin
Expand All @@ -12,7 +12,7 @@ INCBIN = ../incbin
SYZYGY = ../syzygy

CXXFLAGS += -std=c++$(CXXSTANDARD)
CXXFLAGS += -O3 -g -DNDEBUG -march=native -mtune=native -fopenmp -flto
CXXFLAGS += -O3 -g -DNDEBUG -march=native -mtune=native -fopenmp -flto -fwhole-program
CXXFLAGS += -Wall -Wextra
CXXFLAGS += -fconstexpr-ops-limit=$(OPSLIMIT)
CXXFLAGS += -I$(INCLUDE) -I$(INCBIN) -I$(SYZYGY)
Expand Down
4 changes: 2 additions & 2 deletions build/makefile-clang
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
EXE = seer
SRC = ../src/seer.cc ../syzygy/tbprobe.c
SRC = ../src/seer.cc ../syzygy/tbprobe.c ../src/search/*.cc ../src/chess/*.cc ../src/engine/*.cc
CC = clang++

EVALFILE = weights/0xddf7a131.bin
Expand All @@ -12,7 +12,7 @@ INCBIN = ../incbin
SYZYGY = ../syzygy

CXXFLAGS += -std=c++$(CXXSTANDARD)
CXXFLAGS += -O3 -g -DNDEBUG -march=native -mtune=native -fopenmp
CXXFLAGS += -O3 -g -DNDEBUG -march=native -mtune=native -fopenmp -flto
CXXFLAGS += -Wall -Wextra -Wpedantic
CXXFLAGS += -fconstexpr-steps=$(OPSLIMIT)
CXXFLAGS += -I$(INCLUDE) -I$(INCBIN) -I$(SYZYGY)
Expand Down
1,042 changes: 0 additions & 1,042 deletions include/board.h

This file was deleted.

218 changes: 0 additions & 218 deletions include/board_state.h

This file was deleted.

Loading

0 comments on commit 615292a

Please sign in to comment.