diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/hsa.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/hsa.cpp index e9f72adb31..74f997a1cc 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/hsa.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/hsa.cpp @@ -1547,7 +1547,7 @@ hsa_status_t hsa_agent_iterate_isas( const Isa *isa_object = agent_object->isa(); if (!isa_object) { - return HSA_STATUS_ERROR_INVALID_AGENT; + return HSA_STATUS_SUCCESS; } return callback(Isa::Handle(isa_object), data);