Luecx / CudAD

GNU General Public License v3.0
14 stars 7 forks source link

CudAD

A cuda enabled nueral network trainer for the Koivisto Chess Engine.

Requirements

Installation

cl (from Visual Studio) must be included in your path!

Clone

git clone https://github.com/Luecx/CudAD
cd CudAD

Build

cmake -B cmake-build-release -S .
cmake --build cmake-build-release --config Release --target CudAD -j4

Run

./cmake-build-release/Release/CudAD

Maintaining

Formatting

This project uses clang-format to keep it's code formatted. The style can be found in .clang-format.

To format a file, with clang-format in your path.

clang-format -i <file_path>

Below is a helpful script to format the codebase in one go.

find src/ -iname *.h -o -iname *.cu | xargs clang-format -i