mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +08:00
fix: set usesPrintf when .const.data.string present in elf
- printf_buffer argument may not be present when indirect access buffer version==2 - deduce usesPrintf based on .const.data.string presence and required iab for those cases Related-To: NEO-15211, IGC-12385 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
1e7c9ee2e9
commit
febe905a19
@@ -203,6 +203,7 @@ cl_int Program::createProgramFromBinary(
|
||||
SingleDeviceBinary binary = {};
|
||||
binary.deviceBinary = blob;
|
||||
binary.targetDevice = NEO::getTargetDevice(clDevice.getRootDeviceEnvironment());
|
||||
binary.generatorFeatureVersions = singleDeviceBinary.generatorFeatureVersions;
|
||||
|
||||
auto &gfxCoreHelper = clDevice.getGfxCoreHelper();
|
||||
std::tie(decodedSingleDeviceBinary.decodeError, std::ignore) = NEO::decodeSingleDeviceBinary(decodedSingleDeviceBinary.programInfo,
|
||||
|
||||
Reference in New Issue
Block a user