fix: indirect access in external functions

Read indirect_stateless_count in module external functions.

If greater than 0, mark all kernels that have the has_stack_calls flag
set from this module as having indirect accesses.

Related-To: NEO-7712

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
Dominik Dabek
2024-01-18 13:23:34 +00:00
committed by Compute-Runtime-Automation
parent af5977766d
commit e0ccf22557
12 changed files with 123 additions and 4 deletions

View File

@@ -48,6 +48,7 @@ struct ProgramInfo {
uint32_t minScratchSpaceSize = 0U;
uint32_t indirectDetectionVersion = 0U;
size_t kernelMiscInfoPos = std::string::npos;
bool functionPointerWithIndirectAccessExists = false;
};
size_t getMaxInlineSlmNeeded(const ProgramInfo &programInfo);