mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-28 00:03:14 +08:00
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:
committed by
Compute-Runtime-Automation
parent
797807bea8
commit
95130b7256
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user