Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1010 Bytes

README.md

File metadata and controls

48 lines (33 loc) · 1010 Bytes

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