Skip to content

Commit a3b6c29

Browse files
Merge pull request #53 from amdjiahangpan/master
fix: dead link /en/cloud/amd-radeon-cloud and llvm syntax highlight
2 parents 32383ad + ba4306c commit a3b6c29

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/en/03-infra/decode-ai-accelerator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ sed -n '/__CLANG_OFFLOAD_BUNDLE____START__ hip-amdgcn/,/__CLANG_OFFLOAD_BUNDLE__
220220

221221
**Actual Output Example** (Unoptimized LLVM IR -O0):
222222

223-
```llvm
223+
```text
224224
; Generated file: simple_add_O0.ll
225225
define protected amdgpu_kernel void @_Z3addPfS_S_i(ptr addrspace(1) noundef %0, ptr addrspace(1) noundef %1, ptr addrspace(1) noundef %2, i32 noundef %3) #4 {
226226
%5 = alloca i32, align 4, addrspace(5)
@@ -273,7 +273,7 @@ define protected amdgpu_kernel void @_Z3addPfS_S_i(ptr addrspace(1) noundef %0,
273273

274274
**Actual Output Example** (Optimized LLVM IR -O3):
275275

276-
```llvm
276+
```text
277277
; Generated file: simple_add_O3.ll
278278
define protected amdgpu_kernel void @_Z3addPfS_S_i(ptr addrspace(1) noundef readonly captures(none) %0, ...) local_unnamed_addr #0 {
279279
; No stack allocations! All variables in registers

docs/en/05-amd-yes/minesweeper-agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ If you don't have an AMD GPU, you can use the official AMD free cloud compute pl
3636
- 100 free GPU hours upon registration
3737
- Built-in Jupyter environment, no local setup needed
3838

39-
See the full guide: [AMD Radeon Cloud](/en/cloud/amd-radeon-cloud)
39+
See the full guide: [AMD Radeon Cloud](/zh/cloud/amd-radeon-cloud)
4040

4141
### Option 2: Local Setup
4242

docs/zh/03-infra/decode-ai-accelerator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ sed -n '/__CLANG_OFFLOAD_BUNDLE____START__ hip-amdgcn/,/__CLANG_OFFLOAD_BUNDLE__
220220

221221
**实际输出示例**(未经优化的 LLVM IR -O0):
222222

223-
```llvm
223+
```text
224224
; 生成的文件: simple_add_O0.ll
225225
define protected amdgpu_kernel void @_Z3addPfS_S_i(ptr addrspace(1) noundef %0, ptr addrspace(1) noundef %1, ptr addrspace(1) noundef %2, i32 noundef %3) #4 {
226226
%5 = alloca i32, align 4, addrspace(5)
@@ -273,7 +273,7 @@ define protected amdgpu_kernel void @_Z3addPfS_S_i(ptr addrspace(1) noundef %0,
273273

274274
**实际输出示例**(优化后的 LLVM IR -O3):
275275

276-
```llvm
276+
```text
277277
; 生成的文件: simple_add_O3.ll
278278
define protected amdgpu_kernel void @_Z3addPfS_S_i(ptr addrspace(1) noundef readonly captures(none) %0, ...) local_unnamed_addr #0 {
279279
; 无栈分配!所有变量都在寄存器中

0 commit comments

Comments
 (0)