wsl/libhsakmt: adapt to the new check for kernel object

Signed-off-by: Flora Cui <flora.cui@amd.com>
Reviewed-by: Longlong Yao <Longlong.Yao@amd.com>
Part-of: <http://10.67.69.192/wsl/rocr-runtime/-/merge_requests/99>
This commit is contained in:
Flora Cui
2025-07-16 11:22:13 +08:00
committed by Frank Min
parent 72cbeeff6d
commit c5d7d487dc
3 changed files with 14 additions and 5 deletions
+1
View File
@@ -65,6 +65,7 @@ ErrorCode GpuMemory::Init(const GpuMemoryCreateInfo &create_info) {
desc_.flags.is_imported_sys_memfd = create_info.flags.sysmem_ipc_sig_importer;
desc_.flags.is_sysmem_exporter = create_info.flags.sysmem_ipc_sig_exporter;
desc_.flags.is_va_required = create_info.flags.alloc_va;
desc_.flags.is_blit_kernel_object = create_info.flags.blit_kernel_object;
/* we can't tell the allocation is regular vmm or ipc mem at creation stage,
they share same creation parameters, so forcing all vram allocations to