SWDEV-270013 - Allocate kernel_arguments from kern_arg & finegrain pool instead of coarse grain.

Change-Id: Id4c6977934fdd6ef2311f6e75593801f1e51983c
Tá an tiomantas seo le fáil i:
kjayapra-amd údaraithe agus Karthik Jayaprakash tiomanta 2021-02-15 18:20:08 -05:00
1 tuismitheoir 0f14c54c04
tiomantas 2df099df9e
11 comhad athraithe
+54 -22

Níor tháinig aon chomhaid le do chuardach

+1 -1
Féach ar an gComhad
@@ -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);
}