Skip to content

feifei14119/rocm_start_sample

Repository files navigation

Rocm Start Sample

rocm-hip on amdgpu入门示例


1. 使用:

run
"python build.py [hip/asm] [v2/v3] [llvm/hcc]"
under each project folder, the exacutable will generated under ./out path.


2. 示例:

2.1 runtime 示例:

1. 设备查询
2. 带宽测试
3. 向量加模板
4. 矩阵转置
5. FFT

2.2 hip kernel function 示例:

1. 计时函数
2. 内联汇编
3. 原子操作
4. shuffle操作
5. vote操作

2.3 ISA 示例:

1. smem读写
2. flat读写
3. mubuf读写
4. lds读写
5. group间条件跳转
6. thread间条件执行
7. packed float16指令
8. dpp指令
9. permute指令
10. mfma指令

2.4 性能优化示例:

1. 指令发射
2. vmem指令阻塞
3. vmem指令L1冲突

About

hip rocm start sample for amd gpu

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published