mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
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:
committed by
Compute-Runtime-Automation
parent
af5977766d
commit
e0ccf22557
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user