diff --git a/runtime/hsa-runtime/core/driver/kfd/amd_kfd_driver.cpp b/runtime/hsa-runtime/core/driver/kfd/amd_kfd_driver.cpp index addafc480c..6e47cb21ee 100644 --- a/runtime/hsa-runtime/core/driver/kfd/amd_kfd_driver.cpp +++ b/runtime/hsa-runtime/core/driver/kfd/amd_kfd_driver.cpp @@ -527,6 +527,7 @@ hsa_status_t KfdDriver::IsModelEnabled(bool* enable) const { if (status != HSAKMT_STATUS_SUCCESS) { return HSA_STATUS_ERROR; } + return HSA_STATUS_SUCCESS; } } // namespace AMD