You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/04/14 18:20:56 UTC

[GitHub] [tvm] tqchen commented on a change in pull request #7825: [TIR] Add a new intrinsic count leading zeros for LLVM and SPIR-V

tqchen commented on a change in pull request #7825:
URL: https://github.com/apache/tvm/pull/7825#discussion_r613477976



##########
File path: src/target/intrin_rule.cc
##########
@@ -83,6 +83,8 @@ TVM_REGISTER_GLOBAL("tvm.intrin.rule.default.ceil").set_body(DispatchPureExtern<
 
 TVM_REGISTER_GLOBAL("tvm.intrin.rule.default.round").set_body(DispatchPureExtern<FloatSuffix>);
 
+TVM_REGISTER_GLOBAL("tvm.intrin.rule.default.clz").set_body(DispatchPureExtern<Direct>);

Review comment:
       clz is not a default function, so i am not sure if direct will work. Perhaps we should not do default dispatch rule but instead define for each specific backend




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org