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:
Mateusz Jablonski
2020-03-05 07:11:11 +01:00
committed by sys_ocldev
parent 9fadc918c7
commit 899045f900
3 changed files with 11 additions and 2 deletions

View File

@@ -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);