Avoid default parameter to program constructor.

Change-Id: I75e9a619131f7d8721416cf18d87418568d04f25
This commit is contained in:
Mrozek, Michal
2018-02-28 13:06:23 +01:00
committed by sys_ocldev
parent 0b6acb4d7a
commit 7f7daef49c
26 changed files with 69 additions and 69 deletions

View File

@@ -78,7 +78,7 @@ class KernelArgAcceleratorFixture : public ContextFixture, public DeviceFixture,
pKernelInfo->kernelArgInfo[0].offsetVmeSadAdjustMode = 0x14;
pKernelInfo->kernelArgInfo[0].offsetVmeSearchPathType = 0x1c;
pProgram = new MockProgram(pContext);
pProgram = new MockProgram(pContext, false);
pKernel = new MockKernel(pProgram, *pKernelInfo, *pDevice);
ASSERT_EQ(CL_SUCCESS, pKernel->initialize());