-
Notifications
You must be signed in to change notification settings - Fork 197
Expand file tree
/
Copy pathmkdocs.yml
More file actions
285 lines (273 loc) · 11.2 KB
/
Copy pathmkdocs.yml
File metadata and controls
285 lines (273 loc) · 11.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# Copyright (C) 2024-2026 Advanced Micro Devices, Inc.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
site_name: IRON / MLIR-AIE
# MIGRATION NOTE: if the repo moves orgs, update site_url, repo_name, repo_url here.
# The docs content uses only relative links; only these three lines need changing.
site_url: https://xilinx.github.io/mlir-aie/
site_description: >-
IRON — a close-to-metal Python API for programming AMD Ryzen™ AI NPUs,
built on an open-source MLIR-based compiler toolchain.
site_author: AMD Advanced Micro Devices
repo_name: Xilinx/mlir-aie
repo_url: https://github.com/Xilinx/mlir-aie
edit_uri: edit/main/
# Fail the build on any warning (broken link, bad reference, etc.). Applies to
# every invocation — local `mkdocs build`/`serve` and the CI `mike deploy` —
# so problems surface before they reach the deployed site.
strict: true
# Shown in the footer of every page.
copyright: >-
Copyright © 2019–2021 Xilinx, Inc. | Copyright © 2022–2026 Advanced Micro
Devices, Inc. Licensed under Apache 2.0 with LLVM exception.
docs_dir: docs
site_dir: site
exclude_docs: |
*.cfg.in
*.cfg
*.dot
*.gemspec
Gemfile
CMakeLists.txt
*.dox
/README.md
# aiecc/ is a symlink to tools/aiecc (its README is published); keep the
# driver's C++ sources and build files out of the site.
/aiecc/*.cpp
/aiecc/*.h
/aiecc/*.cmake
# Legacy raw-MLIR walkthroughs (deprecated AIE. syntax, Versal-era). Kept in
# the repo for reference but not published on the site.
/AIEDesignPatterns.md
/AIERouting.md
/AIEVectorization.md
# Internal maintainer notes (wheel-build machinery). Kept in the repo, not
# published on the site.
/Dev.md
# Links to source files (*.py, *.cpp, *.h, etc.) and out-of-tree dirs
# (programming_examples/, mlir_exercises/) are intentional "go read the
# source" links that work on GitHub but don't resolve as doc pages.
# Suppress the noise; keep absolute_links warnings for real broken links.
validation:
links:
absolute_links: warn
unrecognized_links: ignore
anchors: warn
not_found: ignore
theme:
name: material
# "I" monogram, same mark as the browser-tab favicon, replacing Material's
# generic default header icon.
logo: assets/images/favicon.svg
favicon: assets/images/favicon.svg
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: custom
accent: teal
toggle:
icon: material/brightness-7
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: custom
accent: teal
toggle:
icon: material/brightness-4
name: Switch to light mode
features:
- navigation.tabs
- navigation.tabs.sticky
- navigation.sections
- navigation.indexes
- navigation.path
- navigation.top
- navigation.footer
- search.suggest
- search.highlight
- content.tabs.link
- content.code.copy
- content.code.annotate
- toc.follow
extra_css:
- assets/css/iron.css
extra:
# Version picker — populated by mike at deploy time from versions.json
version:
provider: mike
default: latest
alias: true
# Social links appear in the footer
social:
- icon: fontawesome/brands/github
link: https://github.com/Xilinx/mlir-aie
name: mlir-aie on GitHub
- icon: fontawesome/brands/discord
link: https://discord.gg/UbXzGdXsR5
name: Join us on the ROCm Discord (#ROCm-NPU)
- icon: fontawesome/solid/paper-plane
link: mailto:aup@amd.com
name: AMD University Program
plugins:
- search
# Sitemap is built-in to MkDocs — Google/Bing pick it up at /sitemap.xml
- mkdocstrings:
default_handler: python
handlers:
python:
# NOTE: deliberately no external `inventories:` (python/numpy
# objects.inv). The build is strict (see `strict: true` above), so a
# fetch failure/403 from those hosts would abort the whole docs
# deploy. Internal iron cross-references don't need them.
paths: [python]
options:
# Headings / structure
show_root_heading: true
show_root_full_path: false
# No symbol-type badges ("meth"/"func"/"attr") — those are
# Sphinx-derived abbreviations, not canonical Python. Methods
# still render with their full signature.
show_symbol_type_heading: false
show_symbol_type_toc: false
members_order: source
# Signatures — render annotations and cross-link the types
show_signature: true
show_signature_annotations: true
separate_signature: true
signature_crossrefs: true
# Docstrings
docstring_style: google
docstring_section_style: table
merge_init_into_class: true
show_if_no_docstring: false
show_source: true
show_bases: true
show_inheritance_diagram: false
filters:
- "!^_"
# Build-time hooks. rewrite_source_links rewrites relative links that point at
# repo source files/dirs (python/, programming_examples/, etc.) into absolute
# github.com URLs so they don't 404 on the site, while leaving the markdown
# source relative so GitHub browsing keeps working. See the file for details.
hooks:
- docs/hooks/rewrite_source_links.py
markdown_extensions:
- admonition
- pymdownx.details
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.tabbed:
alternate_style: true
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- attr_list
- md_in_html
- tables
- footnotes
- toc:
permalink: true
# Use a GitHub-compatible slugifier so heading anchors match what GitHub
# generates (e.g. "Ryzen™ AI" -> "ryzen-ai", stripping the ™). This keeps
# same-page anchor links working on BOTH the docs site and GitHub, which
# matters for pages like README.md that render in both places.
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
nav:
- Home: index.md
- Getting Started:
- getting-started.md
- Windows (WSL): buildHostWin.md
- Windows (Native): buildHostWinNative.md
- Non-Ubuntu Linux: buildHostLinNonUbuntu.md
- Build from Source: Building.md
- Devices: Devices.md
- Versal: BuildingVersal.md
- Platform Notes: Platform.md
- Programming Guide:
- Introduction: programming_guide/README.md
- Mini Tutorial: programming_guide/mini_tutorial/README.md
- "Section 0: Prerequisites": programming_guide/section-0/README.md
- "Section 1: Tiles and Buffers": programming_guide/section-1/README.md
- "Section 2: Data Movement":
- Introduction: programming_guide/section-2/README.md
- "2a: Single-Tile Data Movement": programming_guide/section-2/section-2a/README.md
- "2b: ObjectFifo Patterns":
- Introduction: programming_guide/section-2/section-2b/README.md
- Reuse: programming_guide/section-2/section-2b/01_Reuse/README.md
- Broadcast: programming_guide/section-2/section-2b/02_Broadcast/README.md
- Implicit Copy: programming_guide/section-2/section-2b/03_Implicit_Copy/README.md
- Repeat: programming_guide/section-2/section-2b/04_Repeat/README.md
- "2c: Data Layout Transformations":
- Introduction: programming_guide/section-2/section-2c/README.md
- To Stream: programming_guide/section-2/section-2c/to_stream_transformations/README.md
- From Stream: programming_guide/section-2/section-2c/from_stream_transformations/README.md
- "2d: DMA and Runtime Tasks":
- Introduction: programming_guide/section-2/section-2d/README.md
- DMA Tasks: programming_guide/section-2/section-2d/DMATasks.md
- Runtime Tasks: programming_guide/section-2/section-2d/RuntimeTasks.md
- "2e: Multiple Cores": programming_guide/section-2/section-2e/README.md
- "2f: Multi-Core Patterns":
- Introduction: programming_guide/section-2/section-2f/README.md
- Single/Double Buffer: programming_guide/section-2/section-2f/01_single_double_buffer/README.md
- Ext Mem to Core: programming_guide/section-2/section-2f/02_external_mem_to_core/README.md
- Ext Mem to Core (L2): programming_guide/section-2/section-2f/03_external_mem_to_core_L2/README.md
- Distribute L2: programming_guide/section-2/section-2f/04_distribute_L2/README.md
- Join L2: programming_guide/section-2/section-2f/05_join_L2/README.md
- "2g: Data Movement Without ObjectFifos": programming_guide/section-2/section-2g/README.md
- "2h: Tensor Access Patterns": programming_guide/section-2/section-2h/README.md
- "Section 3: My First Program": programming_guide/section-3/README.md
- "Section 4: Performance":
- Introduction: programming_guide/section-4/README.md
- "4a: Timers": programming_guide/section-4/section-4a/README.md
- "4b: Tracing": programming_guide/section-4/section-4b/README.md
- "4c: Vectorization": programming_guide/section-4/section-4c/README.md
- "Section 5: Example Designs": programming_guide/section-5/README.md
- "Section 6: ML Examples": programming_guide/section-6/README.md
- Extra References:
- IRON Configuration: programming_guide/iron_configuration.md
- Core Data Memory: programming_guide/core_data_memory.md
- HRX Runtime (amdxdna): programming_guide/hrx_runtime.md
- HSA Runtime (ROCR): programming_guide/hsa_runtime.md
- Compilation Stages: programming_guide/compilation_stages.md
- Implicit MLIR Context: programming_guide/implicit_mlir_context.md
- Kernel Library: programming_guide/kernels_library.md
- Agentic Programming:
- Introduction: skills/agentic_programming.md
- Agent Skills Overview: skills/README.md
- "Phase 1: Model Baseline": skills/aie-model-baseline/SKILL.md
- "Phase 2: Dataflow Pre-Sim": skills/aie-dataflow-presim/SKILL.md
- "Phase 3: HW Bring-up": skills/aie-hw-bringup/SKILL.md
- "Phase 4: Kernel Optimization": skills/aie-kernel-opt/SKILL.md
- "Phase 4: Dataflow Optimization": skills/aie-dataflow-opt/SKILL.md
- API & Internals:
- Overview: api/index.md
- Python API:
- IRON (aie.iron): api/iron.md
- Dialect op wrappers: api/dialect_wrappers.md
- Tensor Access Patterns (taplib): api/taplib.md
- Python Kernel Library: api/kernels.md
- Host Runtime: api/hostruntime.md
- C++ AIE kernels: api/aie_kernels.md
- MLIR / C++:
- ObjectFifo Lowering: ObjectFifoLowering.md
- AIE Dialect: AIEDialect.md
- AIEX Dialect: AIEXDialect.md
- AIEVec Dialect: AIEVecDialect.md
- AIE Passes: AIEPasses.md
- AIEX Passes: AIEXPasses.md
- AIEVec Passes: AIEVecPasses.md
- C++ API (Doxygen): api/cpp_doxygen.md
- aiecc Compiler Driver: aiecc/README.md
- Community:
- Used in / Cited in: UsedIn.md
- Contributing: CONTRIBUTING.md
- Roadmap: ROADMAP.md
- Security: SECURITY.md