From e41a5bc8489b1709505acc6ea896e4594244f615 Mon Sep 17 00:00:00 2001 From: AShivangi <124935354+AShivangi@users.noreply.github.com> Date: Wed, 2 Oct 2024 21:21:39 +0530 Subject: [PATCH] CR-1214559 `xrt-smi validate --verbose` cannot find benchmark_1502_00.json and prints "Details: Threshold is 0.0 us" (#8482) * CR-1214559 Signed-off-by: AShivangi * fix build error Signed-off-by: AShivangi * fix dev id Signed-off-by: AShivangi --------- Signed-off-by: AShivangi --- src/runtime_src/core/tools/common/TestRunner.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/runtime_src/core/tools/common/TestRunner.cpp b/src/runtime_src/core/tools/common/TestRunner.cpp index c74ebd33429..e8414b304d0 100644 --- a/src/runtime_src/core/tools/common/TestRunner.cpp +++ b/src/runtime_src/core/tools/common/TestRunner.cpp @@ -528,6 +528,11 @@ TestRunner::set_threshold(const std::shared_ptr& dev, { //find the benchmark.json const auto pcie_id = xrt_core::device_query(dev); + + //phoenix is not supported + if(xq::pcie_id::device_to_string(pcie_id).find("1502") != std::string::npos) + return; + auto benchmark_fname = boost::str(boost::format("benchmark_%s_%s.json") % xq::pcie_id::device_to_string(pcie_id) % xq::pcie_id::revision_to_string(pcie_id)); auto json_config = findPlatformFile(benchmark_fname, ptTest);