You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/08/24 18:45:54 UTC

[GitHub] ptrendx commented on issue #12328: [WIP] [MXNET-857] Add initial NVTX profiler implementation

ptrendx commented on issue #12328: [WIP] [MXNET-857] Add initial NVTX profiler implementation
URL: https://github.com/apache/incubator-mxnet/pull/12328#issuecomment-415848462
 
 
   One thing that would make the profile more readable is different colors for different ranges. Here is an example how to do this: https://github.com/NVIDIA/DALI/blob/master/dali/common.h#L149
   
   You could for example use the first letter of the range as a very simple hash to the list of predetermined colors (don't do anything more fancy like actual hashing of the name since that would only introduce overhead which you don't want during profiling).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services