摘要: # 基本 ![](https://img2022.cnblogs.com/blog/1481923/202206/1481923-20220623184653443-1138374228.png) # gitignore A gitignore file specifies intentionall 阅读全文
posted @ 2022-06-23 18:50 ijpq 阅读(35) 评论(0) 推荐(0) 编辑
摘要: HOW TO OPTIMIZE GEMM 介绍一些常规的优化思路,参考:https://github.com/flame/how-to-optimize-gemm/wiki baseline /* Create macros so that the matrices are stored in co 阅读全文
posted @ 2024-04-02 16:22 ijpq 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 问题背景: https://airflow-megengine.iap.hh-d.brainpp.cn/log?dag_id=megbrain-release&task_id=prebuild-cu111&execution_date=2022-10-08T06%3A06%3A51%2B00%3A0 阅读全文
posted @ 2024-03-27 13:12 ijpq 阅读(40) 评论(0) 推荐(0) 编辑
摘要: 2022.Q3 沟通 with wangbiao 晋升milestone: Q3: 怎么做目标切分 怎么当一个owner Q4: 要独立当一个owner 2023.Q1: 要学习带人做项目 kernel优化路线 cuda c -> tensor core -> cutlass -> tvm Q3 p 阅读全文
posted @ 2024-03-27 13:09 ijpq 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 03 Feb 2023 : 最近一周,重新梳理了dnn上rrconv的codegen代码,dnn上rrconv fprop全部test跑通。dnn rrconv dgrad不能通过,部分case计算错误。rrconv cutlass dgrad全部通过。 2.2号来了,先检查dgrad的codege 阅读全文
posted @ 2024-03-27 13:07 ijpq 阅读(4) 评论(0) 推荐(0) 编辑
摘要: https://developer.nvidia.com/blog/cutlass-linear-algebra-cuda/ Efficient Matrix Multiplication on GPUs 计算密集度 = (时间复杂度/空间复杂度) = O(N^3)/O(N^2) = O(N) // 阅读全文
posted @ 2024-03-26 13:47 ijpq 阅读(7) 评论(0) 推荐(0) 编辑
摘要: #include <vector> #include <utility> // 对于 std::move #include <type_traits> #include <iostream> using namespace std; template<typename T> struct A { A 阅读全文
posted @ 2024-01-16 17:06 ijpq 阅读(4) 评论(0) 推荐(0) 编辑
摘要: problem1 How many bytes is the program? For the above x86 assembly code, how many bytes of instructions need to be fetched if x = 0x01020304 and n = 5 阅读全文
posted @ 2023-12-13 12:23 ijpq 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 3.4 Note how the mix of different types of instructions vary between benchmarks. Record the mix for each benchmark. (Remember: Do not provide raw dump 阅读全文
posted @ 2023-12-10 23:37 ijpq 阅读(26) 评论(0) 推荐(0) 编辑
摘要: ![image](https://img2023.cnblogs.com/blog/1481923/202311/1481923-20231129110844813-948831792.png) 阅读全文
posted @ 2023-11-29 11:08 ijpq 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 参考: code: https://github.com/mit-pdos/xv6-riscv book: https://pdos.csail.mit.edu/6.828/2021/xv6/book-riscv-rev2.pdf note: https://mit-public-courses-c 阅读全文
posted @ 2023-10-31 18:26 ijpq 阅读(6) 评论(0) 推荐(0) 编辑