feature: store info related to indirect calls within kernel

Related-To: NEO-15211
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2025-08-27 14:42:17 +00:00
committed by Compute-Runtime-Automation
parent dfe14a2f0d
commit 80359a4362
3 changed files with 17 additions and 1 deletions

View File

@@ -726,6 +726,7 @@ void populateKernelExecutionEnvironment(KernelDescriptor &dst, const KernelExecu
dst.kernelAttributes.flags.usesStatelessWrites = (false == execEnv.hasNoStatelessWrite);
dst.kernelAttributes.flags.hasSample = execEnv.hasSample;
dst.kernelAttributes.flags.requiresImplicitArgs = execEnv.requireImplicitArgBuffer;
dst.kernelAttributes.flags.hasIndirectCalls = execEnv.hasIndirectCalls;
dst.kernelAttributes.barrierCount = execEnv.barrierCount;
dst.kernelAttributes.bufferAddressingMode = (execEnv.has4GBBuffers) ? KernelDescriptor::Stateless : KernelDescriptor::BindfulAndStateless;
dst.kernelAttributes.inlineDataPayloadSize = static_cast<uint16_t>(execEnv.inlineDataPayloadSize);

View File

@@ -126,7 +126,7 @@ struct KernelDescriptor : NEO::NonCopyableAndNonMovableClass {
bool usesSamplers : 1;
// 1
bool usesSyncBuffer : 1;
bool deprecatedDoNotUse : 1;
bool hasIndirectCalls : 1;
bool usesStatelessWrites : 1;
bool passInlineData : 1;
bool perThreadDataHeaderIsPresent : 1;