HDF5 file layout¶
Each HDF5 dump stores a kernel's execution context for replay in a file named
krepe_<label>_<kernel_id>.h5.
/Root attributes Kernel identity
kernel_labelKokkos kernel labelkernel_idTool-local ID counting all kernel launches, across labelskernel_invocationInvocation number for this label, starting at 1
in/ Allocations before the kernel
active_allocationsNumber of allocations in this snapshotactive_bytesSum of bounded user-data sizes, including skipped allocations, in bytes
views/ Captured allocations
view_<index>_<label>/ One group per allocation
labelKokkos allocation labelspaceMemory space reported by the profiling hookptrAllocation pointer, stored as textp_dataUser-data pointer after the allocation header, stored as textsizeBounded user-data size in bytes; 0 if empty or unboundedreported_sizeSize reported by the allocation hook, in bytesbytes_dumped1 if bytes is present, including an empty dataset; 0 if skippedskip_reasonPresent only when bytes_dumped = 0; explains why data was skippedbytesUnsigned-byte dataset; present only when bytes_dumped = 1
out/ State of the allocations after the kernel
active_allocationsNumber of allocations in this snapshotactive_bytesSum of bounded user-data sizes, including skipped allocations, in bytes
views/ Captured allocations
view_<index>_<label>/ One group per allocation
labelKokkos allocation labelspaceMemory space reported by the profiling hookptrAllocation pointer, stored as textp_dataUser-data pointer after the allocation header, stored as textsizeBounded user-data size in bytes; 0 if empty or unboundedreported_sizeSize reported by the allocation hook, in bytesbytes_dumped1 if bytes is present, including an empty dataset; 0 if skippedskip_reasonPresent only when bytes_dumped = 0; explains why data was skippedbytesUnsigned-byte dataset; present only when bytes_dumped = 1
policy/ Execution policy
Select the recorded policy type to see its fields
type"range"spaceExecution space namescheduleScheduling policy: static or dynamicindex_type_sizeIndex type size, in bytesindex_type_signedWhether the index type is signedbeginStart indexendEnd indexchunk_sizeChunk size parameter
type"mdrange"spaceExecution space namescheduleScheduling policy: static or dynamicindex_type_sizeIndex type size, in bytesindex_type_signedWhether the index type is signedrankNumber of dimensionsouter_dirOuter iteration direction: left or rightinner_dirInner iteration direction: left or rightbeginint64_t dataset of start indicesendint64_t dataset of end indicestileint64_t dataset of tile dimensions
type"team"spaceExecution space namescheduleScheduling policy: static or dynamicindex_type_sizeIndex type size, in bytesindex_type_signedWhether the index type is signedteam_sizeThreads per team, or -1 for AUTOleague_sizeNumber of teamsvector_lengthVector lanes per team thread, or -1 for AUTOteam_scratch_0Level 0 scratch bytes per team; -1 if unavailableteam_scratch_1Level 1 scratch bytes per team; -1 if unavailablethread_scratch_0Level 0 scratch bytes per thread; -1 if unavailablethread_scratch_1Level 1 scratch bytes per thread; -1 if unavailablechunk_sizeChunk size parameter
type"scalar"endEnd index
type"none" — no policy was recorded
metadata/ User metadata
<key>One string attribute per user key/value pair
functor/ Callable data for replay
functorUnsigned-byte dataset of the captured functor or lambda objectnvcc_inner_lambdaUnsigned-byte dataset; always present, empty unless an NVCC extended host-device lambda was captured