SWDEV-376697 - Use PCIE fine grain memory pool when hipDeviceMallocUncached flag is used.

Change-Id: I7234d456ef2df42b0b9b9e0d2647ee9bded565f9
Este cometimento está contido em:
kjayapra-amd criou e Karthik Jayaprakash cometeu 2023-02-16 14:05:50 -05:00
1 ascendente 5dc104b3ea
cometimento 6b873b8a86
2 ficheiros modificados
+2 -2

Não existem ficheiros que correspondam à sua pesquisa

+1 -1
Ver ficheiro
@@ -788,7 +788,7 @@ bool Buffer::create(bool alloc_local) {
} else {
assert(!isHostMemDirectAccess() && "Runtime doesn't support direct access to GPU memory!");
deviceMemory_ = dev().deviceLocalAlloc(size(), (memFlags & CL_MEM_SVM_ATOMICS) != 0,
(memFlags & ROCCLR_MEM_HSA_PSEUDO_FINE_GRAIN) != 0);
(memFlags & ROCCLR_MEM_HSA_UNCACHED) != 0);
}
owner()->setSvmPtr(deviceMemory_);
} else {