From 9c54cdaaf1be3fb99940c7b66de2e13a095579ab Mon Sep 17 00:00:00 2001 From: David Yat Sin Date: Wed, 31 May 2023 11:46:52 -0400 Subject: [PATCH] Change failure to parse CPUID to warning Change-Id: If42dbcd11ac1be09597e43a8f11caa91cf37903e [ROCm/ROCR-Runtime commit: fc3b55412136cb5929c596ce00b39a97751130e6] --- .../runtime/hsa-runtime/core/runtime/runtime.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/runtime.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/runtime.cpp index dbc2e2cb8f..9647c3690d 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/runtime.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/runtime.cpp @@ -1421,7 +1421,11 @@ hsa_status_t Runtime::Load() { // Assume features are not supported if parse CPUID fails if (!os::ParseCpuID(&cpuinfo)) { - fprintf(stderr, "Failed to parse CPUID\n"); + /* + * This is not a failure, in some environments such as SRIOV, not all CPUID info is + * exposed inside the guest + */ + debug_warning("Parsing CPUID failed."); } flag_.Refresh();