CATLASS Project Documentation

1. Practices

Code practices that guide developers through the steps of using and developing at each level of CATLASS, gradually building the ability to perform complete operator development, testing, tuning, and model integration.

2. Design

  • 00_project_overview: Project introduction, layered modular design, and code repository structure design
  • 01_kernel_design: Algorithm design
    • 00_basics (folder): CATLASS development basics
    • 01_example_design: Overview of sample design documents in the repository (each sample's document is placed in its own sample folder; this document only provides a summary and index).
    • 02_swizzle: Basic introduction to the Swizzle policies in the template library, which affects the order of basic blocks on AI Cores.
    • 03_dispatch_policies: Introduction to DispatchPolicy, an important template parameter in BlockMmad at the Block layer.
    • 04_matmul_summary: Introduction to the existing matmul template design in the examples directory of the template library, including the sample template list, theoretical template list, engineering optimization list, and brief introduction to template application. This document can be used as a reference for matmul performance tuning.
    • 05_aswt: Description of the adaptive sliding window tiling policy.
    • 06_quant_summary: Low-precision topics (to be contributed)
  • 02_tla:
    • 01_layout: Layout structure and related interfaces for TLA
    • 02_layout_tag: Layout tags such as RowMajor, ColumnMajor, zN, and nZ and related interfaces, that is, the legacy layout structure
    • 03_tensor: Tensor structure
  • 03_evg:
    • 01_evg_design: EVG positioning, layering, execution model, and graph organization
    • 02_evg_extension: EVG extension conventions, describing when to add ComputeFn, when to add nodes, and the constraints to follow during implementation
    • 03_evg_quick_start: Description on the EVG integration process using Matmul + Add as an example.

3. APIs

Appendix

External articles and videos