支持自定义后端是否可以展开讲讲? #146
Answered
by
yzh119
randy-chiu
asked this question in
Q&A
支持自定义后端是否可以展开讲讲?
#146
-
当前tvm已支持多种自定义后端硬件指令,课程8描述了一些针对自定义硬件后端的整体思路,具体点的示例有没有材料,比如如何映射到具体硬件指令等?或者有没有相关的示例代码可以参考的,比如tvm中? |
Beta Was this translation helpful? Give feedback.
Answered by
yzh119
Sep 18, 2022
Replies: 1 comment 3 replies
-
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
randy-chiu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
不同后端的指令集定义:https://github.com/apache/tvm/tree/1ecf084eecaff167967df1a8c998de72e1198c24/python/tvm/tir/tensor_intrin
对应的代码生成逻辑(以cuda为例):https://github.com/apache/tvm/blob/1ecf084eecaff167967df1a8c998de72e1198c24/src/target/source/codegen_cuda.cc#L675-L906