mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
feature: Adding support for parsing sip_surface_offset
Adding support for parsing sip_surface_offset in accordance with zeinfo specification. This field is not used because surface offset calculations are dynamic and zebin binary can rely only on sip_surface_bti entry. However, failing to parse this unused entry blocks NEO from moving to stricter zebin validation. Related-To: NEO-11762 Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5ab81cb3bb
commit
e11ceb4a20
@@ -821,6 +821,8 @@ DecodeError readZeInfoDebugEnvironment(const Yaml::YamlParser &parser, const Yam
|
||||
auto key = parser.readKey(debugEnvNd);
|
||||
if (Tags::Kernel::DebugEnv::debugSurfaceBTI == key) {
|
||||
validDebugEnv &= readZeInfoValueChecked(parser, debugEnvNd, outDebugEnv.debugSurfaceBTI, context, outErrReason);
|
||||
} else if (Tags::Kernel::DebugEnv::debugSurfaceOffset == key) {
|
||||
validDebugEnv &= readZeInfoValueChecked(parser, debugEnvNd, outDebugEnv.debugSurfaceOffset, context, outErrReason);
|
||||
} else {
|
||||
outWarning.append("DeviceBinaryFormat::zebin::.ze_info : Unknown entry \"" + key.str() + "\" in context of " + context.str() + "\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user