文件最后提交记录最后更新时间
13 天前
13 天前
5 天前
13 天前
17 天前
17 天前
README

CATLASS Project Documentation

1 Practices

Step-by-step practices for learning how to use and develop each layer of CATLASS, covering complete operator development, testing, tuning, and model integration.

Development Workflow

  • 01Quick Start: Prepare the template library environment, then build and run operator examples
  • 02Host-side Matmul Assembly: Learn how to assemble Matmul on the host side
  • 03Kernel Development: Explore Kernel code, including template assembly, Arguments, Params, and key functions
  • 04Block Mmad Development: Explore Block Mmad code, template assembly, and major interfaces
  • 05Block Scheduler Development: Explore Block Scheduler code, template assembly, and major interfaces
  • 06Tile Development: Explore Tile Copy and Tile Mmad code, template assembly, and major interfaces
  • 07Epilogue Adaptation: Adapt GEMM epilogues at the Host and Kernel layers, and develop Epilogue Block and Tile components
  • 08Debugging and Analysis: Use debugging tools, locate precision issues, and analyze performance bottlenecks
  • 09Example Contribution Guide: Follow the complete process for designing, developing, testing, and merging an example
  • 10Innovative Example Development Guide: Follow the complete workflow for developing an innovative example
  • 11Matmul Optimization Guide: Improve performance through Tiling parameter tuning and different Dispatch policies
  • 12 Example Integration: Adapt examples and integrate them into full networks (contributions welcome)

Debugging and Analysis

Specialized Practices

This section contains specialized practice documents contributed by both internal and external developers.

2 Design

Project Overview

Introduces the project positioning, layered modular design, and repository structure.

Kernel Design

Basics

Core Design

TLA Design

  • 01Layout: TLA Layout structures and related interfaces
  • 02LayoutTag: Legacy layout tags and interfaces, including RowMajor, ColumnMajor, zN, and nZ
  • 03Tensor: Tensor structures

EVG Design

3 API Documentation

CATLASS APIs

  • API Index: Entry point for CATLASS API documentation
  • GEMM API: General matrix multiplication interfaces
  • EVG API: EVG integration, parameter ordering, and commonly used nodes

4 Appendix

Technical Articles

Fundamentals

Advanced Topics

Content covering concepts, troubleshooting, performance optimization, and best practices is to be added.

Training Videos

Ascend Community Courses

CATLASS Courses