Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
switch to new network architecture
  • Loading branch information
vshcherbyna committed Jan 14, 2023
commit bc412e93b4587043a77a7dda587d5de02e24b28c
20 changes: 3 additions & 17 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,12 @@ FILE(GLOB HDRFILES ${PROJECT_SOURCE_DIR}/src/*.h)

FILE(GLOB FATHOM_SRCFILES ${PROJECT_SOURCE_DIR}/src/fathom/*.cpp)
FILE(GLOB FATHOM_HDRFILES ${PROJECT_SOURCE_DIR}/src/fathom/*.h)

IF (DEFINED EVAL_NNUE)
ADD_DEFINITIONS(-DEVAL_NNUE=${EVAL_NNUE})
FILE(GLOB_RECURSE NNUE_SRCFILES ${PROJECT_SOURCE_DIR}/src/nnue/*.cpp)
FILE(GLOB_RECURSE NNUE_HDRFILES ${PROJECT_SOURCE_DIR}/src/nnue/*.h)
FILE(GLOB INCBIN_HDRFILES ${PROJECT_SOURCE_DIR}/src/incbin/*.h)
ENDIF()
FILE(GLOB INCBIN_HDRFILES ${PROJECT_SOURCE_DIR}/src/incbin/*.h)

IF (DEFINED EVALFILE)
ADD_DEFINITIONS(-DEVALFILE=\"${EVALFILE}\")
ENDIF()

IF (DEFINED USE_NEON)
ADD_DEFINITIONS(-DUSE_NEON=${USE_NEON})
ENDIF()

IF (DEFINED USE_PEXT)
ADD_DEFINITIONS(-DUSE_PEXT=${USE_PEXT})
ENDIF()
Expand All @@ -35,10 +25,6 @@ IF (DEFINED USE_AVX2)
ADD_DEFINITIONS(-DUSE_AVX2=${USE_AVX2})
ENDIF()

IF (DEFINED USE_AVX512)
ADD_DEFINITIONS(-DUSE_AVX512=${USE_AVX512})
ENDIF()

IF (DEFINED _BTYPE)
ADD_DEFINITIONS(-D_BTYPE=${_BTYPE})
IF (UNIX)
Expand Down Expand Up @@ -76,7 +62,7 @@ IF (DEFINED _MAKE_UNIT_TEST)
ELSE()
IF (UNIX)
ADD_DEFINITIONS(-DNDEBUG)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -O3 -march=native -flto -pthread")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -O3 -march=native -flto -pthread -mavx2")
ENDIF (UNIX)
ADD_EXECUTABLE(igel ${SRCFILES} ${HDRFILES} ${FATHOM_SRCFILES} ${FATHOM_HDRFILES} ${NNUE_SRCFILES} ${NNUE_HDRFILES} ${INCBIN_HDRFILES})
ADD_EXECUTABLE(igel ${SRCFILES} ${HDRFILES} ${FATHOM_SRCFILES} ${FATHOM_HDRFILES} ${INCBIN_HDRFILES})
ENDIF()
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Using cmake/Visual Studio 2022:
git clone https://github.com/vshcherbyna/igel.git ./igel
cd igel
git submodule update --init --recursive
cmake -DEVAL_NNUE=1 -DUSE_AVX2=1 -D_BTYPE=1 -DSYZYGY_SUPPORT=TRUE -G "Visual Studio 17 2022" -A x64 .
cmake -DUSE_AVX2=1 -D_BTYPE=1 -DSYZYGY_SUPPORT=TRUE -G "Visual Studio 17 2022" -A x64 .
```

Using cmake/gcc:
Expand All @@ -85,8 +85,8 @@ Using cmake/gcc:
git clone https://github.com/vshcherbyna/igel.git ./igel
cd igel
git submodule update --init --recursive
wget https://github.com/vshcherbyna/igel/releases/download/3.2.0/ign-1-9a48854b -O ./network_file
cmake -DEVALFILE=network_file -DEVAL_NNUE=1 -DUSE_PEXT=1 -DUSE_AVX2=1 -D_BTYPE=1 -DSYZYGY_SUPPORT=TRUE .
wget https://github.com/vshcherbyna/igel/releases/download/3.3.0/ign-2-51ba2968 -O ./network_file
cmake -DEVALFILE=network_file -DUSE_PEXT=1 -DUSE_AVX2=1 -D_BTYPE=1 -DSYZYGY_SUPPORT=TRUE .
make -j
```

Expand All @@ -108,4 +108,4 @@ It is also possible to compile using gcc and a traditional makefile, please cons

### Donation

Thank you so much for supporting Igel's development and training via [PayPal](https://www.paypal.com/donate/?hosted_button_id=37NPEAY9XLRJE).
Thank you so much for supporting Igel's development and training via [![Paypal](https://raw.githubusercontent.com/vshcherbyna/igel/master/paypal3.jpg)](https://www.paypal.com/donate/?hosted_button_id=37NPEAY9XLRJE).
3 changes: 1 addition & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,4 @@ build_script:
- cmake -D_BTYPE=1 -G "Visual Studio 17 2022" .
- cmake --build . --target ALL_BUILD --config %CONFIGURATION%
- cmake -D_MAKE_UNIT_TEST=UNIT_TEST -D_BTYPE=1 -G "Visual Studio 17 2022" .
- cmake --build . --target ALL_BUILD --config %CONFIGURATION%
- .\%CONFIGURATION%\unit.exe
- cmake --build . --target ALL_BUILD --config %CONFIGURATION%
7 changes: 7 additions & 0 deletions history.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ Igel - open source chess engine forked from GreKo 2018.01.
(c) 2002-2018 Vladimir Medvedev <vrm@bk.ru> (GreKo author)
(c) 2018-2023 Volodymyr Shcherbyna <volodymyr@shcherbyna.com>

Igel 3.3.0
-------------
15-Jan-2023

- new network architecture
- new network ign-2-51ba2968

Igel 3.2.0
-------------
17-Dec-2022
Expand Down
Binary file added paypal3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading