SWDEV-376697 - Use PCIE fine grain memory pool when hipDeviceMallocUncached flag is used.
Change-Id: I7234d456ef2df42b0b9b9e0d2647ee9bded565f9
이 커밋은 다음에 포함됨:
1 부모
5dc104b3ea
커밋
6b873b8a86
2 파일이 변경됨
+2
-2
검색과 일치하는 파일 없음
@@ -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 {
|
||||
|
||||
새 이슈에서 참조
사용자 차단