Replies: 1 comment 16 replies
-
This is almost always a permissions problem. With respect to PAPI, can you check the value of
Which timemory version are you installing via spack? If you aren't specifying
As far as the CUPTI components, the HW counter backend was written against the old CUPTI Callback API, which CUDA semi-deprecated in CUDA 11 in favor of the CUPTI profiler API. The problem with the CUPTI profiler API is that it doesn't allow you to extract data until the end -- which timemory can technically handle but it creates a slightly confusing API problem insomuch as until "finalization" all of those components will report zeros. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I wasn't sure exactly where to ask a question about using the timemory kokkos-tools libraries, so if this is the wrong place, please redirect me and I'll repost elsewhere. Anyway, I've got some Kokkos code that I'm profiling, and I decided to try using timemory, but I'm having some difficulty getting various components to work. Simple timemory components, like
wall_clock
work fine, but other components are being rather uncooperative. I'm building timemory, as well as my project and its dependencies using Spack. The timemory configuration isKokkos is 3.4.00, CUDA is 11.2.2, gcc is 9.3.0, gpu is NVIDIA V100
I haven't surveyed all components, but generally my impression is that components that use h/w counters, either PAPI or CUPTI, are not working well. For example,
gpu_roofline_flops
component segfaults, usingkp_timemory_gpu_efficiency.so
aborts withMetric value retrieval failed for metric gld_efficiency
, andcpu_roofline_flops
records 0 operations. I don't believe there are access permission issues, but I could be wrong. Is there anything I might try to fix or further diagnose these problems?Beta Was this translation helpful? Give feedback.
All reactions