mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
Move CompilerInterface to ExecutionEnvironment
Change-Id: I14afdd8fc41ecd4ac8c8fcbeecda2539bc847288 Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
931b462ee1
commit
d2759a0629
@@ -125,7 +125,7 @@ const SipKernel &BuiltIns::getSipKernel(SipKernelType type, Device &device) {
|
||||
cl_int retVal = CL_SUCCESS;
|
||||
|
||||
std::vector<char> sipBinary;
|
||||
auto compilerInteface = CompilerInterface::getInstance();
|
||||
auto compilerInteface = device.getExecutionEnvironment()->getCompilerInterface();
|
||||
UNRECOVERABLE_IF(compilerInteface == nullptr);
|
||||
|
||||
auto ret = compilerInteface->getSipKernelBinary(type, device, sipBinary);
|
||||
|
||||
Reference in New Issue
Block a user