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:
[email protected]


With regards,
Apache Git Services

Reply via email to