mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
Add methods to get builtins and compiler interface from device
Related-To: NEO-4355 Change-Id: I6b120b5293a180ce35a1671b5d2952003d56f9a6 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
9fadc918c7
commit
899045f900
@@ -38,7 +38,7 @@ const SipKernel &BuiltIns::getSipKernel(SipKernelType type, Device &device) {
|
||||
int retVal = 0;
|
||||
|
||||
std::vector<char> sipBinary;
|
||||
auto compilerInteface = device.getExecutionEnvironment()->getCompilerInterface();
|
||||
auto compilerInteface = device.getCompilerInterface();
|
||||
UNRECOVERABLE_IF(compilerInteface == nullptr);
|
||||
|
||||
auto ret = compilerInteface->getSipKernelBinary(device, type, sipBinary);
|
||||
|
||||
Reference in New Issue
Block a user