SWDEV-270013 - Allocate kernel_arguments from kern_arg & finegrain pool instead of coarse grain.
Change-Id: Id4c6977934fdd6ef2311f6e75593801f1e51983c
Цей коміт міститься в:
1 джерело
0f14c54c04
коміт
2df099df9e
11 files changed
+54
-22
No files matched your search
@@ -2144,7 +2144,7 @@ void Device::fillHwSampler(uint32_t state, void* hwState, uint32_t hwStateSize,
|
||||
hwStateSize);
|
||||
}
|
||||
|
||||
void* Device::hostAlloc(size_t size, size_t alignment, bool atomics) const {
|
||||
void* Device::hostAlloc(size_t size, size_t alignment, bool MemorySegment mem_seg) const {
|
||||
// for discrete gpu, we only reserve,no commit yet.
|
||||
return amd::Os::reserveMemory(NULL, size, alignment, amd::Os::MEM_PROT_NONE);
|
||||
}
|
||||
|
||||
Reference in new issue
Заблокувати користувача