mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 17:20:26 +08:00
feature: extract indirect access buffer major version from ELF's notes
- use version from ELF to create correct layout of implcit args Related-To: NEO-15574 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a755ad131d
commit
be483491bf
@@ -85,6 +85,9 @@ Kernel::Kernel(Program *programArg, const KernelInfo &kernelInfoArg, ClDevice &c
|
||||
}
|
||||
slmTotalSize = kernelInfoArg.kernelDescriptor.kernelAttributes.slmInlineSize;
|
||||
this->implicitArgsVersion = getDevice().getGfxCoreHelper().getImplicitArgsVersion();
|
||||
if (program->getIndirectAccessBufferVersion() > 0) {
|
||||
this->implicitArgsVersion = program->getIndirectAccessBufferVersion();
|
||||
}
|
||||
}
|
||||
|
||||
Kernel::~Kernel() {
|
||||
|
||||
Reference in New Issue
Block a user