Introduction to TT-Lang
mainTT-Lang is a Python-based Domain Specific Language (DSL) used to express kernel programs for Tenstorrent hardware. It is designed to be tightly integrated with TT-NN, allowing users to mix existing TT-NN operations with custom kernel programs.
The programming model focuses on:
- Explicit data movement: Controlling how data moves between memory and compute.
- Explicit compute threads: Defining specific threads for computation and data movement.
- Explicit synchronization: Using primitives like dataflow buffers and semaphores to manage execution schedules and performance.