Change failure to parse CPUID to warning

Change-Id: If42dbcd11ac1be09597e43a8f11caa91cf37903e


[ROCm/ROCR-Runtime commit: fc3b554121]
This commit is contained in:
David Yat Sin
2023-05-31 11:46:52 -04:00
parent 3661d76c74
commit 9c54cdaaf1
@@ -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();