Remove Program::setDevice

device should be passed to constructor

Related-To: NEO-5001
Change-Id: If4c64ec405bdd3beaccc7c09644e22fc98a02249
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2020-10-12 16:11:31 +02:00
committed by sys_ocldev
parent b95c6ca2cc
commit b77f9bf8d1
3 changed files with 0 additions and 8 deletions

View File

@@ -54,8 +54,6 @@ const SipKernel &BuiltIns::getSipKernel(SipKernelType type, Device &device) {
DEBUG_BREAK_IF(retVal != 0);
UNRECOVERABLE_IF(program == nullptr);
program->setDevice(&device);
retVal = program->processGenBinary(device.getRootDeviceIndex());
DEBUG_BREAK_IF(retVal != 0);