mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Pass ClDeviceVector to Program's ctor
Related-To: NEO-5001 Change-Id: Ie0e4395fd3ed9a5df81c7075ef039092a0687b9c Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
10165ec9eb
commit
f7dcafc295
@ -48,7 +48,7 @@ struct ApiFixture {
|
||||
|
||||
pCommandQueue = new MockCommandQueue(pContext, pDevice, nullptr);
|
||||
|
||||
pProgram = new MockProgram(*pDevice->getExecutionEnvironment(), pContext, false, &pDevice->getDevice());
|
||||
pProgram = new MockProgram(pContext, false, toClDeviceVector(*pDevice));
|
||||
|
||||
pKernel = new MockKernel(pProgram, pProgram->mockKernelInfo, *pDevice);
|
||||
ASSERT_NE(nullptr, pKernel);
|
||||
|
Reference in New Issue
Block a user