You are viewing a plain text version of this content. The canonical link for it is here.
Posted to devnull@infra.apache.org by "KellenSunderland (GitHub)" <gi...@apache.org> on 2018/08/24 19:54:19 UTC
[GitHub] [incubator-mxnet] KellenSunderland commented on issue
#12328: [WIP] [MXNET-857] Add initial NVTX profiler implementation
Great idea. Totally agree.
On Fri, Aug 24, 2018, 8:46 PM Przemyslaw Tredak <no...@github.com>
wrote:
> 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).
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/incubator-mxnet/pull/12328#issuecomment-415848462>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AHGTE8BdwlbGFLcacaCC2pyFUX6eu1FOks5uUEobgaJpZM4WLDxa>
> .
>
[ Full content available at: https://github.com/apache/incubator-mxnet/pull/12328 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org