Support MapMemoryToGPUNodes on APU

Change-Id: Ie77a2eb23cd9fe6671ff9e0630977220218e55dd
Signed-off-by: Ben Goz <ben.goz@amd.com>


[ROCm/ROCR-Runtime commit: b1393f8224]
This commit is contained in:
Ben Goz
2016-03-09 12:05:52 +02:00
committed by Andres Rodriguez
orang tua e2d2d6bd32
melakukan c32a504b59
+5
Melihat File
@@ -277,6 +277,11 @@ hsaKmtMapMemoryToGPUNodes(
uint32_t *gpu_id_array;
HSAKMT_STATUS ret;
if (!is_dgpu && NumberOfNodes == 1)
return hsaKmtMapMemoryToGPU(MemoryAddress,
MemorySizeInBytes,
AlternateVAGPU);
ret = validate_nodeid_array(&gpu_id_array,
NumberOfNodes, NodeArray);
if (ret != HSAKMT_STATUS_SUCCESS)