A cuda enabled nueral network trainer for the Koivisto Chess Engine.
cl
(from Visual Studio) must be included in your path!
git clone https://github.com/Luecx/CudAD
cd CudAD
cmake -B cmake-build-release -S .
cmake --build cmake-build-release --config Release --target CudAD -j4
./cmake-build-release/Release/CudAD
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