SWDEV-288690 - Updating the return value with roc::Device::init

Change-Id: I132fa424cf9bec608e5c8429e93d20e78b76c6f0


[ROCm/clr commit: d2bf9f9b58]
Este cometimento está contido em:
kjayapra-amd criou e Maneesh Gupta cometeu 2021-08-22 23:56:07 -07:00
1 ascendente 88b7c2b990
cometimento 8f1e9bb054
1 ficheiro modificado
+2 -1
+2 -1
Ver ficheiro
@@ -390,7 +390,8 @@ bool Device::init() {
// If returned false, error initializing HSA stack.
// If returned true, either HSA not installed or HSA stack
// successfully initialized.
if (!roc::Device::init()) {
ret = roc::Device::init();
if (!ret) {
// abort() commentted because this is the only indication
// that KFD is not installed.
// Ignore the failure and assume KFD is not installed.