From 838421c540ff0d549788069953bd2f49aa7bb7be Mon Sep 17 00:00:00 2001 From: Flora Cui Date: Fri, 25 Jul 2025 11:23:04 +0800 Subject: [PATCH] wsl/libhsakmt: refactor check for supported device Signed-off-by: Flora Cui Reviewed-by: Tianci Yin Part-of: --- thunk_proxy/thunk_proxy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thunk_proxy/thunk_proxy.h b/thunk_proxy/thunk_proxy.h index 0dceea5cd3..21bb983dda 100644 --- a/thunk_proxy/thunk_proxy.h +++ b/thunk_proxy/thunk_proxy.h @@ -102,7 +102,7 @@ int EngineOrdinal(int engine, DeviceInfo *device_info); bool GetHwsEnabled(int engine, DeviceInfo *device_info); bool ShouldDisableGpuTimeout(int engine, DeviceInfo *device_info); bool ParseAdapterInfo(D3DKMT_HANDLE adapter, DeviceInfo *device_info); -bool QueryAdapterSupported(D3DKMT_HANDLE adapter); +bool QueryAdapterSupported(unsigned int device_id); uint32_t QueueEngine2EngineFlag(uint32_t queue_engine); void SetAllocationInfo(void *data, uint64_t size, AllocDomain domain,