Skip to content

[Issue]: rocp_sdk permissions warning #507

@dbarry9

Description

@dbarry9

Issue Description

On Frontier, when I use ROCm 7.0.2, I encounter the following warning:

W20251107 19:40:11.772000 140736977257600 ioctl.cpp:68] Device XXXXX could not be locked for profiling due to lack of permissions (capability SYS_PERFMON). PMC Counters may be inaccurate and System Counter Collection will be degraded.

This warning does not occur when using ROCm 6.4.2. The counter values appear to be reasonably close when using each ROCm version (see example below: rocp_sdk component test simple).

ROCm 6.4.2:

rocp_sdk:::SQ_CYCLES:device=0:DIMENSION_INSTANCE=0:DIMENSION_SHADER_ENGINE=3: 1996.21M

ROCm 7.0.2:

rocp_sdk:::SQ_CYCLES:device=0:DIMENSION_INSTANCE=0:DIMENSION_SHADER_ENGINE=3: 2056.00M

Operating System

SUSE Linux Enterprise Server 15 SP6

Architecture

x86_64

CPU Architecture

AMD EPYC 7A53 64-Core Processor

Compiler

GCC 12.2.0

PAPI Version

master

Component

rocp_sdk

Steps to Reproduce

  1. Load the appropriate ROCm module.
  2. Run the tests located in src/components/rocp_sdk/tests.

Additional Information

No response

Metadata

Metadata

Labels

component-rocp_sdkPRs and Issues related to the rocp_sdk componentstatus-monitoringIssue to keep track of but not a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions