diff --git a/projects/clr/hipamd/src/hip_vm.cpp b/projects/clr/hipamd/src/hip_vm.cpp index 295d1520a2..aa1bbb1cf3 100644 --- a/projects/clr/hipamd/src/hip_vm.cpp +++ b/projects/clr/hipamd/src/hip_vm.cpp @@ -235,6 +235,7 @@ hipError_t hipMemImportFromShareableHandle(hipMemGenericAllocationHandle_t* hand prop.type = hipMemAllocationTypePinned; prop.location.type = hipMemLocationTypeDevice; prop.location.id = hip::getCurrentDevice()->deviceId(); + prop.requestedHandleType = shHandleType; phys_mem_obj->getUserData().deviceId = hip::getCurrentDevice()->deviceId(); phys_mem_obj->getUserData().data = new hip::GenericAllocation(*phys_mem_obj, 0, prop);