mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 15:12:56 +08:00
Move init of image builtins to separate function in level_zero
Change-Id: I15879af545159da3646a6bd71bf0d952735b37aa Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
9dab9a654d
commit
9cdd0574c1
@@ -576,6 +576,9 @@ Device *Device::create(DriverHandle *driverHandle, NEO::Device *neoDevice) {
|
||||
if (neoDevice->getCompilerInterface()) {
|
||||
device->getBuiltinFunctionsLib()->initFunctions();
|
||||
device->getBuiltinFunctionsLib()->initPageFaultFunction();
|
||||
if (device->getHwInfo().capabilityTable.supportsImages) {
|
||||
device->getBuiltinFunctionsLib()->initImageFunctions();
|
||||
}
|
||||
}
|
||||
|
||||
auto supportDualStorageSharedMemory = device->getDriverHandle()->getMemoryManager()->isLocalMemorySupported(device->neoDevice->getRootDeviceIndex());
|
||||
|
||||
Reference in New Issue
Block a user