-
Hi all! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @frettini For scalar code, I've had success using |
Beta Was this translation helpful? Give feedback.
-
Hi all! |
Beta Was this translation helpful? Give feedback.
-
Hi @frettini For scalar code, I've had success using |
Beta Was this translation helpful? Give feedback.
Hi @frettini
For scalar code, I've had success using
perf
and whatever GUI you prefer (Firefox Profiler is my personal favorite).For LLVM, it's a bit more tricky. We don't instrument the LLVM kernels at all AFAIK, so whatever hotspots you could find would be in the x86 binary and you'd need to reverse-engineer/guess what the original source code is. Personally, I've only ever done this for microbenchmarks, where the assembled x86 was fairly small. I don't think this is suitable for profiling an entire integrator.