Builtins increase context refcount.

Change-Id: I146852092e1cb374b816875ae9a90ac03a8f205e
This commit is contained in:
Zdunowski, Piotr
2018-05-16 17:22:03 +02:00
committed by sys_ocldev
parent 09e4dab4f6
commit 39d55e5257
47 changed files with 173 additions and 202 deletions

View File

@@ -51,7 +51,7 @@ class DispatchInfoFixture : public ContextFixture, public DeviceFixture {
pKernelInfo->patchInfo.mediavfestate = pMediaVFEstate;
pPrintfSurface = new SPatchAllocateStatelessPrintfSurface();
pKernelInfo->patchInfo.pAllocateStatelessPrintfSurface = pPrintfSurface;
pProgram = new MockProgram(pContext, false);
pProgram = new MockProgram(pContext);
pKernel = new MockKernel(pProgram, *pKernelInfo, *pDevice);
pKernel->slmTotalSize = 128;