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
Dieser Commit ist enthalten in:
David Yat Sin committed 2024-01-16 21:29:39 +00:00
1 Ursprung 4971150576
Commit d16c6db2ee
1 Datei geändert
+2 -2
+2 -2
Datei anzeigen
@@ -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 =