Skip to content

[Issue] rocprof-sys-run roctxRangePush("name") / Pop Broken #266

Open
@ax3l

Description

@ax3l

When tracing an application in ROCm 6.4.1 that uses RTX range annotations of the form:

roctxRangePush("name");

// user code goes here
// ... nesting ranges with unique names possible, too
// compute compute compute

roctxRangePop();

then rocprof-sys-run -- ./exe does not record the RTX ranges correctly. Instead of creating a range until pop, the push command drops the range immediately after the roctxRangePush("name"); returns.

Running instead with rocprofv3 --hip-trace --marker-trace --output-format=pftrace -- ./exe shows proper ranges.

Example traces using the same binary:

rocprofv3 example

Image

rocprof-sys-run

Image
note the missing stack

If I zoom in, individual RTX annotations show as very-short blocks that end immediately again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions