-
在第八节课程中,提到可以使用 |
Beta Was this translation helpful? Give feedback.
Answered by
Hzfengsy
Aug 14, 2022
Replies: 1 comment 7 replies
-
可能你对这部分有一点误解。 |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
hbsun2113
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
可能你对这部分有一点误解。
sch.annotate
并不能“替代”tvm.tir.TensorIntrin.register("tmm16", tmm16_desc, tmm16_impl)
。这两者是需要同时作用才能工作的。这里的
sch.annotate
是给定程序一个tmm16
的实现(这个函数在是自己实现的,在编译器中找不到所以需要给定程序),配合Tensorize一起使用