libhsakmt: Print an error message when map_mmio failes
Without this change, the failure was hard to notice when it happened.
Change-Id: I99c3e8cea0d0cbd3bcfe79069410e6e870e225bf
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
[ROCm/ROCR-Runtime commit: 16fa78b134]
Este commit está contenido en:
@@ -2348,6 +2348,9 @@ HSAKMT_STATUS fmm_init_process_apertures(unsigned int NumNodes)
|
||||
gpu_mem[gpu_mem_id].mmio_aperture.limit = (void *)
|
||||
((char *)gpu_mem[gpu_mem_id].mmio_aperture.base +
|
||||
PAGE_SIZE - 1);
|
||||
else
|
||||
pr_err("Failed to map remapped mmio page on gpu_mem %d\n",
|
||||
gpu_mem_id);
|
||||
}
|
||||
|
||||
free(process_apertures);
|
||||
|
||||
Referencia en una nueva incidencia
Block a user