SWDEV-270013 - Allocate kernel_arguments from kern_arg & finegrain pool instead of coarse grain.
Change-Id: Id4c6977934fdd6ef2311f6e75593801f1e51983c
[ROCm/clr commit: 2df099df9e]
这个提交包含在:
1 父节点
4da1282882
当前提交
4583cbafee
11 个文件已更改
+54
-22
没有与搜索条件相匹配的文件
@@ -284,7 +284,9 @@ int Context::create(const intptr_t* properties) {
|
||||
|
||||
void* Context::hostAlloc(size_t size, size_t alignment, bool atomics) const {
|
||||
if (customHostAllocDevice_ != NULL) {
|
||||
return customHostAllocDevice_->hostAlloc(size, alignment, atomics);
|
||||
return customHostAllocDevice_->hostAlloc(size, alignment, atomics
|
||||
? Device::MemorySegment::kAtomics
|
||||
: Device::MemorySegment::kNoAtomics);
|
||||
}
|
||||
return AlignedMemory::allocate(size, alignment);
|
||||
}
|
||||
|
||||
在新工单中引用
屏蔽一个用户