Caliper: Annotate kernels separately - #695
Conversation
|
made a draft because need to add different types to these regions so we can filter them with caliper |
rhornung67
left a comment
There was a problem hiding this comment.
Thank you @michaelmckinsey1
This reverts commit c5e2675.
c83369c to
adebe6c
Compare
|
@MrBurmark @artv3 @rhornung67 Also it is now rebased on #700 |
Summary
RAJA::launchorRAJA::forallkernels are annotated using the RAJA Caliper plugintype=function->type=subkernel[1]Examples
Polybench_JACOBI_1Dhas one launch per rep forpoly_jacobi_1D_1and one forpoly_jacobi_1D_2. So its tree will now profile each separately:POLYBENCH_FLOYD_WARSHALL,HALO_PACKING,HALO_EXCHANGEall have variable amount of launches, so we will append_kinstead of adding k regions to the treeAll kernels with only 1 launch per rep are unchanged.
[1] how to filter
subkernels at runtimeraja-perf.exe --atcc "exclude_attributes=subkernel"Then subkernels will be excluded:

Caveat for this method is that if profiling API functions, like HIP or MPI the subkernel regions will no longer be excluded if they have API functions.