Commit 4dfb479
authored
[rocprofiler-compute] Skip PC sampling test if not supported on machine post profiling (#4387)
## Motivation
CI machine can sometimes run on machine which does not support
stochastic pc sampling driver/firmware
Fixes ROCm/TheRock#4034
<!-- Explain the purpose of this PR and the goals it aims to achieve.
-->
## Technical Details
In test_pc_sampling.py skip stochastic pc sampling test if profiling
output complains about PC sampling configuration not supported
<!-- Explain the changes along with any relevant GitHub links. -->
## JIRA ID
<!-- If applicable, mention the JIRA ID resolved by this PR (Example:
Resolves SWDEV-12345). -->
<!-- Do not post any JIRA links here. -->
## Test Plan
Run test_pc_sampling.py locally
<!-- Explain any relevant testing done to verify this PR. -->
## Test Result
Tests pass
<!-- Briefly summarize test outcomes. -->
## Submission Checklist
- [x] Look over the contributing guidelines at
https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.1 parent 3a8bafb commit 4dfb479
1 file changed
+17
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
64 | 72 | | |
65 | 73 | | |
66 | 74 | | |
| |||
114 | 122 | | |
115 | 123 | | |
116 | 124 | | |
117 | | - | |
| 125 | + | |
118 | 126 | | |
119 | 127 | | |
120 | 128 | | |
121 | | - | |
| 129 | + | |
| 130 | + | |
122 | 131 | | |
123 | 132 | | |
124 | 133 | | |
125 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
126 | 141 | | |
127 | 142 | | |
128 | 143 | | |
| |||
0 commit comments