C++ ttnn project template
You need to have built tt-metal locally: https://github.com/tenstorrent/tt-metal/
Then simply run this commands:
chmod +x init_repo.sh
./init_repo.sh
- Install CMake plugin.
- Install clang plugin.
- Default launch json expects gdb-14.2
clang-format
in precommit hook.clang-tidy
to run manually (for now).
Use CMake plugin to setup and debug project and tests.
clang-tidy sources/examples/sample_app/main.cpp -p debug
./debug/sources/examples/sample_app/sample_app
Run ctest
from your build folder