mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
[16/n] Internal 4GB allocator.
- Make sure that kernel allocation is deleted asynchronously. Change-Id: Ia98ae9fdbd56c7de82f92d62e0395ef181ebceef
This commit is contained in:

committed by
sys_ocldev

parent
dede44f0dd
commit
bd0362990b
@ -413,7 +413,7 @@ void Program::freeBlockResources() {
|
||||
void Program::cleanCurrentKernelInfo() {
|
||||
for (auto &kernelInfo : kernelInfoArray) {
|
||||
if (kernelInfo->kernelAllocation) {
|
||||
this->pDevice->getMemoryManager()->freeGraphicsMemory(kernelInfo->kernelAllocation);
|
||||
this->pDevice->getMemoryManager()->checkGpuUsageAndDestroyGraphicsAllocations(kernelInfo->kernelAllocation);
|
||||
}
|
||||
delete kernelInfo;
|
||||
}
|
||||
|
Reference in New Issue
Block a user