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

Change-Id: I7234d456ef2df42b0b9b9e0d2647ee9bded565f9
이 커밋은 다음에 포함됨:
kjayapra-amd 작성하고 Karthik Jayaprakash가 2023-02-16 14:05:50 -05:00를 커밋함
1 부모 5dc104b3ea
커밋 6b873b8a86
2 파일이 변경됨
+2 -2

검색과 일치하는 파일 없음

+1 -1
파일 보기
@@ -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 {