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 16:59:27 UTC

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

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


##########
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:
   So it was looking for `profiling.timer.cuda` this entire time? Why wouldn't profiling crash when it could not find it? 



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