diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/runtime.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/runtime.cpp index 07c94a104f..c3187880c7 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/runtime.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/runtime.cpp @@ -1623,8 +1623,8 @@ void Runtime::CheckVirtualMemApiSupport() { auto kfd_version = core::Runtime::runtime_singleton_->KfdVersion().version; if (kfd_version.KernelInterfaceMajorVersion > 1 || - kfd_version.KernelInterfaceMajorVersion == 1 && - kfd_version.KernelInterfaceMinorVersion >= 12) { + (kfd_version.KernelInterfaceMajorVersion == 1 && + kfd_version.KernelInterfaceMinorVersion >= 12)) { char* error; fn_amdgpu_device_get_fd =