[ROCm/rocprofiler-compute commit: 6cbda3f1d8]
Этот коммит содержится в:
Fei Zheng authored and GitHub committed 2025-07-31 08:20:49 -06:00
1 родитель 94ce792f39
Коммит 666f00a07f
6 files changed
+32 -69

No files matched your search

+4 -4
Просмотреть файл
@@ -42,7 +42,7 @@ indirs = [
"tests/workloads/vcopy/MI350",
]
time_units = {"s": 10 ** 9, "ms": 10 ** 6, "us": 10 ** 3, "ns": 1}
time_units = {"s": 10**9, "ms": 10**6, "us": 10**3, "ns": 1}
@pytest.mark.misc
@@ -1308,9 +1308,9 @@ def test_mathematical_correctness_all_units(sample_time_data, original_ns_values
from utils.tty import convert_time_columns
test_cases = [
("s", 10 ** 9), # 1 second = 10^9 nanoseconds
("ms", 10 ** 6), # 1 millisecond = 10^6 nanoseconds
("us", 10 ** 3), # 1 microsecond = 10^3 nanoseconds
("s", 10**9), # 1 second = 10^9 nanoseconds
("ms", 10**6), # 1 millisecond = 10^6 nanoseconds
("us", 10**3), # 1 microsecond = 10^3 nanoseconds
("ns", 1), # 1 nanosecond = 1 nanosecond
]
+3 -3
Просмотреть файл
@@ -209,9 +209,9 @@ class TestDatabaseConnector:
with patch.object(connector, "prep_import") as mock_prep:
mock_prep.return_value = None
connector.connection_info[
"db"
] = "rocprofiler-compute_test_team_test_workload_MI100"
connector.connection_info["db"] = (
"rocprofiler-compute_test_team_test_workload_MI100"
)
connector.db_import()