Increase min KFD version for Virtual mem support

KFD had some fixes for handling of virtual memory APIs. These fixes are
included in interface version 1.15.

Change-Id: Ie701eccf6e032f9ec0a1f4e8a43718964eebddc6


[ROCm/ROCR-Runtime commit: d16c6db2ee]
This commit is contained in:
David Yat Sin
2023-11-16 14:41:53 +00:00
rodzic 298e6cc495
commit bc492274e7
@@ -1722,12 +1722,12 @@ int Runtime::GetAmdgpuDeviceArgs(Agent* agent, amdgpu_bo_handle bo, int* drm_fd,
void Runtime::CheckVirtualMemApiSupport() {
virtual_mem_api_supported_ = false;
// TODO: May have to change the minor version required once Thunk merges changes into amd-staging
auto kfd_version = core::Runtime::runtime_singleton_->KfdVersion().version;
if (kfd_version.KernelInterfaceMajorVersion > 1 ||
(kfd_version.KernelInterfaceMajorVersion == 1 &&
kfd_version.KernelInterfaceMinorVersion >= 12)) {
kfd_version.KernelInterfaceMinorVersion >= 15)) {
char* error;
fn_amdgpu_device_get_fd =