Torq Compiler
main
  • User Manual
  • Developer Manual
    • Introduction
    • Build and setup
    • Compile and run a model
    • Design
    • Developer Guide
    • Recommended submission process
    • Debug tips and tricks
    • References
    • Testing
Torq Compiler
  • Developer Manual
  • Edit on GitHub

Developer Manual

  • Introduction
  • Build and setup
    • Prerequisites
    • Download the code
    • Install required system packages
    • Build compiler and runtime for host
    • Build runtime for target
  • Compile and run a model
  • Design
    • Torq compiler backend
      • Overview
      • Dialects
      • Passes
      • Data Layout
      • Memory Allocation and Planning
      • Strided Convolutions
      • Torq HAL driver
  • Developer Guide
    • TOSA to Torq Conversion Guide
      • Example
    • Kernel Development Guide
      • Example: Add kernel
      • Kernel Structure
    • Creating a New Compiler Pass
      • Example
    • Implementing Compute Optimizations
    • Super Tiling Optimization
      • Fuse groups
      • Memory footprint check
      • Finding a good tiling factor
  • Recommended submission process
    • Coding Style
    • Updating this Documentation
  • Debug tips and tricks
  • References
    • Glossary
  • Testing
    • Running tests
    • How test code works
      • Fixtures
      • Parametrization
      • Multiple parameters
      • Caching

This manual is structured step-by-step, starting from introduction and setup, through model conversion, compiling & running, supported operators, testing, and advanced topics.

Previous Next

© Copyright 2025.

Built with Sphinx using a theme provided by Read the Docs.
Torq Compiler main (latest)
Versions
main (latest)