mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 07:08:04 +08:00
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:
committed by
Compute-Runtime-Automation
parent
dfe14a2f0d
commit
80359a4362
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user