SWDEV-278346 - Replace assert with LogWarning()
ROCr returns some unexpected values and for now just return invalid device back to the app Change-Id: Ia6fb709ed2dc77d77bd5d64de80b41b3720bed76
This commit is contained in:
@@ -2435,7 +2435,7 @@ bool Device::GetSvmAttributes(void** data, size_t* data_sizes, int* attributes,
|
||||
++entry;
|
||||
break;
|
||||
default:
|
||||
assert(!"Unexpected result from HSA_AMD_SVM_ATTRIB_ACCESS_QUERY");
|
||||
LogWarning("Unexpected result from HSA_AMD_SVM_ATTRIB_ACCESS_QUERY");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user