人工智能工程 › XKRN
主题
免费注册,查看知识点免费账户可打开 5 门课程的知识点。
XKRN-01GPU 执行模型
2 个子主题 · 5 个知识点 · 先修:HPCD-04, CSYS-08
2 个子主题 · 5 个知识点 · 先修:HPCD-04, CSYS-08
XKRN-01-01 · 线程、线程束与线程块
XKRN-01-02 · GPU 的存储层次
XKRN-02屋顶线模型
1 个子主题 · 4 个知识点 · 先修:XKRN-01
1 个子主题 · 4 个知识点 · 先修:XKRN-01
XKRN-02-01 · 论文:屋顶线模型(Williams、Waterman 与 Patterson,2009)
XKRN-03矩阵乘法
2 个子主题 · 5 个知识点 · 先修:XKRN-02
2 个子主题 · 5 个知识点 · 先修:XKRN-02
XKRN-03-01 · 分块
XKRN-03-02 · 库
XKRN-04编写内核
2 个子主题 · 7 个知识点 · 先修:XKRN-03, PROG-02
2 个子主题 · 7 个知识点 · 先修:XKRN-03, PROG-02
XKRN-04-01 · CUDA 基础
XKRN-04-02 · 论文:Triton(Tillet、Kung 与 Cox,2019)
XKRN-05内核融合
1 个子主题 · 3 个知识点 · 先修:XKRN-04
1 个子主题 · 3 个知识点 · 先修:XKRN-04
XKRN-05-01 · 为什么融合有收益
XKRN-06IO 感知注意力
3 个子主题 · 10 个知识点 · 先修:XKRN-05, TRFM-03
3 个子主题 · 10 个知识点 · 先修:XKRN-05, TRFM-03
XKRN-06-01 · 论文:FlashAttention(Dao 等,2022)
XKRN-06-02 · 论文:FlashAttention-2(Dao,2023)
XKRN-06-03 · 论文:FlashAttention-3(Shah 等,2024)
XKRN-07性能剖析
1 个子主题 · 3 个知识点 · 先修:XKRN-04
1 个子主题 · 3 个知识点 · 先修:XKRN-04
XKRN-07-01 · 测量一个内核
本课程涉及的论文
每篇论文在其旁边标注的子主题中讲解。
WIL09Williams, Waterman and Patterson (2009). Roofline: An Insightful Visual Performance Model for Multicore Architectures. Communications of the ACM 52(4). doi:10.1145/1498765.1498785XKRN-02-01
TIL19Tillet, Kung and Cox (2019). Triton: An Intermediate Language and Compiler for Tiled Neural Network Computations. MAPL 2019. doi:10.1145/3315508.3329973XKRN-04-02
DAO22Dao et al. (2022). FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness. NeurIPS 2022. arXiv:2205.14135XKRN-06-01
DAO23Dao (2023). FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning. ICLR 2024. arXiv:2307.08691XKRN-06-02
SHA24Shah et al. (2024). FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision. NeurIPS 2024. arXiv:2407.08608XKRN-06-03