mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
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:
committed by
sys_ocldev
parent
b95c6ca2cc
commit
b77f9bf8d1
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user