Skip to content

Commit f4df094

Browse files
committed
Update ToC
1 parent e1263ee commit f4df094

File tree

3 files changed

+50
-0
lines changed

3 files changed

+50
-0
lines changed

.DS_Store

0 Bytes
Binary file not shown.

chapter_compiler_backend/Index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
```

chapter_compiler_backend/index.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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+
```

0 commit comments

Comments
 (0)