mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Dont pass device to Kernel's ctor
Kernel should reuse devices from program Related-To: NEO-5001 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
8323ddbb3b
commit
a1b5d5a335
@@ -40,7 +40,7 @@ class KernelSlmArgTest : public Test<ClDeviceFixture> {
|
||||
pKernelInfo->workloadInfo.slmStaticSize = 3 * KB;
|
||||
|
||||
program = std::make_unique<MockProgram>(toClDeviceVector(*pClDevice));
|
||||
pKernel = new MockKernel(program.get(), *pKernelInfo, *pClDevice);
|
||||
pKernel = new MockKernel(program.get(), *pKernelInfo);
|
||||
ASSERT_EQ(CL_SUCCESS, pKernel->initialize());
|
||||
|
||||
pKernel->setKernelArgHandler(0, &Kernel::setArgLocal);
|
||||
|
||||
Reference in New Issue
Block a user