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 {
|
||||
|
||||
在新工单中引用
屏蔽一个用户