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 2022/09/20 17:00:02 UTC

[GitHub] [tvm] tkonolige commented on a diff in pull request #12849: [FIX,PROFILING] Fix gpu timer name and lookup

tkonolige commented on code in PR #12849:
URL: https://github.com/apache/tvm/pull/12849#discussion_r975613547


##########
src/runtime/cuda/cuda_device_api.cc:
##########
@@ -283,7 +285,7 @@ class GPUTimerNode : public TimerNode {
 
 TVM_REGISTER_OBJECT_TYPE(GPUTimerNode);
 
-TVM_REGISTER_GLOBAL("profiling.timer.gpu").set_body_typed([](Device dev) {
+TVM_REGISTER_GLOBAL("profiling.timer.cuda").set_body_typed([](Device dev) {

Review Comment:
   There's a default timer that is used. Maybe we should warn if the timer can not be found?



-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

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