fix: setup hasPrintfCalls in case of printfBuffer arg

in case of AOT kernels compiled with older encoder version
printf calls are present when printf buffer arg is present

Related-To: NEO-15211
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2025-09-23 14:02:10 +00:00
committed by Compute-Runtime-Automation
parent 797807bea8
commit 95130b7256
2 changed files with 3 additions and 0 deletions

View File

@@ -1393,6 +1393,7 @@ DecodeError populateKernelPayloadArgument(NEO::KernelDescriptor &dst, const Kern
case Types::Kernel::argTypePrintfBuffer:
dst.kernelAttributes.flags.usesPrintf = true;
dst.kernelAttributes.flags.hasPrintfCalls = true;
return populateArgPointerStateless(dst.payloadMappings.implicitArgs.printfSurfaceAddress);
case Types::Kernel::argTypeAssertBuffer: