Commit 77a7b6c
authored
[release/2.7][ROCm] update state check for test_trace_while_active* (… (#2202)
…#2110)
When timing in enabled, ROCR runtime used to sleep for a small amount
which ensured that the application saw the correct state. However, for
perf reasons this sleep was removed and now the state is not guaranteed
to be "started". That's why, I updated the test state check to be either
"started" or "scheduled"
Fixes https://ontrack-internal.amd.com/browse/SWDEV-525883
Upstream PR: pytorch#153545
(cherry picked from commit 8a1ad2c)
Fixes #ISSUE_NUMBER1 parent a9d0da9 commit 77a7b6c
1 file changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
4634 | 4634 | | |
4635 | 4635 | | |
4636 | 4636 | | |
4637 | | - | |
4638 | | - | |
4639 | | - | |
| 4637 | + | |
| 4638 | + | |
| 4639 | + | |
| 4640 | + | |
| 4641 | + | |
| 4642 | + | |
| 4643 | + | |
| 4644 | + | |
| 4645 | + | |
| 4646 | + | |
| 4647 | + | |
4640 | 4648 | | |
4641 | 4649 | | |
4642 | 4650 | | |
| |||
0 commit comments