feature: Add support for BUFFER_SIZE explicit argument

Related-To: NEO-13972

Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
This commit is contained in:
Vysochyn, Illia
2025-04-07 12:28:48 +00:00
committed by Compute-Runtime-Automation
parent 8978ea5e5a
commit 146a7f7b9b
8 changed files with 43 additions and 5 deletions

View File

@@ -1487,6 +1487,9 @@ DecodeError populateKernelPayloadArgument(NEO::KernelDescriptor &dst, const Kern
case Types::Kernel::argTypeInlineSampler:
return populateInlineSampler(dst, Tags::Kernel::PayloadArgument::ArgType::inlineSampler);
case Types::Kernel::argTypeBufferSize:
return populateWithOffsetChecked(dst.payloadMappings.explicitArgs[src.argIndex].as<ArgDescPointer>(true).bufferSize, sizeof(int64_t), Tags::Kernel::PayloadArgument::ArgType::bufferSize);
}
UNREACHABLE();