File tree Expand file tree Collapse file tree 3 files changed +50
-0
lines changed
Expand file tree Collapse file tree 3 files changed +50
-0
lines changed Original file line number Diff line number Diff line change @@ -24,3 +24,15 @@ This chapter aims to achieve the following learning objectives:
2424
2525- Understand the architecture and functionalities of operator
2626 compilers.
27+
28+ ``` toc
29+ :maxdepth: 2
30+
31+ Overview
32+ Graph_Optimization
33+ Operator_Selection
34+ Memory_Allocation
35+ Operator_Compiler
36+ Chapter_Summary
37+ Further_Reading
38+ ```
Original file line number Diff line number Diff line change 1+ # AI Compiler Backend
2+
3+ In this chapter, we will explore the design of the AI compiler backend.
4+ The objective of an AI compiler backend is to enhance the efficiency of
5+ AI program execution by optimizing the Intermediate Representation (IR)
6+ generated by the compiler frontend. This optimization enables the full
7+ utilization of hardware capabilities. The backend achieves this goal by
8+ applying optimizations to IR code based on hardware capabilities.
9+ Furthermore, it selects suitable operators based on the capabilities of
10+ target hardware to execute computations efficiently, while also
11+ allocating memory to optimize data reuse and locality. Additionally, the
12+ backend often incorporates an operator compiler, which optimizes the
13+ execution strategy for code statements associated with operators.
14+
15+ This chapter aims to achieve the following learning objectives:
16+
17+ - Understand the role and architecture of an AI compiler backend.
18+
19+ - Understand typical methods for optimizing computational graphs.
20+
21+ - Understand typical methods for selecting operators.
22+
23+ - Understand typical methods for memory allocation.
24+
25+ - Understand the architecture and functionalities of operator
26+ compilers.
27+
28+ ``` toc
29+ :maxdepth: 2
30+
31+ Overview
32+ Graph_Optimization
33+ Operator_Selection
34+ Memory_Allocation
35+ Operator_Compiler
36+ Chapter_Summary
37+ Further_Reading
38+ ```
You can’t perform that action at this time.
0 commit comments