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

@@ -79,7 +79,7 @@ class DispatchInfoBuilderFixture : public ContextFixture, public DeviceFixture {
pKernelInfo->kernelArgInfo[2].kernelArgPatchInfoVector[0].crossthreadOffset = 0x50;
pKernelInfo->kernelArgInfo[2].kernelArgPatchInfoVector[0].size = (uint32_t)sizeof(void *);
pProgram = new MockProgram(pContext, false);
pProgram = new MockProgram(pContext);
pKernel = new MockKernel(pProgram, *pKernelInfo, *pDevice);
ASSERT_EQ(CL_SUCCESS, pKernel->initialize());