[30/n] Internal 4GB allocator.

- Add support for patching indirect state with internal heaps.

Change-Id: Ib5748beb462be1786134a0a81bb649dd279816ec
This commit is contained in:
Mrozek, Michal
2018-04-17 07:34:53 +02:00
committed by sys_ocldev
parent 8583c68c8c
commit 6299388b71
2 changed files with 26 additions and 1 deletions

View File

@@ -240,7 +240,7 @@ size_t KernelCommandsHelper<GfxFamily>::sendCrossThreadData(
}
}
return offsetCrossThreadData;
return offsetCrossThreadData + static_cast<size_t>(indirectHeap.getHeapGpuStartOffset());
}
// Returned binding table pointer is relative to given heap (which is assumed to be the Surface state base addess)