libhsakmt: set node_id to 0 for OnlyAddress

Signed-off-by: Longlong Yao <Longlong.Yao@amd.com>


[ROCm/ROCR-Runtime commit: 5916467552]
This commit is contained in:
Longlong Yao authored and Yat Sin, David committed 2025-03-11 10:16:58 -04:00
1 parent fffdffc3ce
commit ef1740b88b
1 file changed
+2
@@ -1539,6 +1539,8 @@ static void *fmm_allocate_va(uint32_t gpu_id, void *address, uint64_t size,
aperture_release_area(aperture, mem, size);
mem = NULL;
}
/* Set node_id to 0 for OnlyAddress */
vm_obj->node_id = 0;
}
pthread_mutex_unlock(&aperture->fmm_mutex);