mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Zebin: set kernel barriers based on ext funcs
This change allows for modifying kernel's barrier count based on called external functions metadata passed via zeInfo section in zebin. Added parsing external functions metadata. Added resolving external functions call graph. Added updating kernel barriers based on called external functions. Added support for L0 dynamic link. Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
bae9e6f5b5
commit
0ccce5a6d7
@@ -7,6 +7,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "shared/source/compiler_interface/external_functions.h"
|
||||
#include "shared/source/compiler_interface/linker.h"
|
||||
|
||||
#include <cstddef>
|
||||
@@ -42,6 +43,7 @@ struct ProgramInfo {
|
||||
std::unique_ptr<LinkerInput> linkerInput;
|
||||
std::unordered_map<std::string, std::string> globalsDeviceToHostNameMap;
|
||||
|
||||
std::vector<ExternalFunctionInfo> externalFunctions;
|
||||
std::vector<KernelInfo *> kernelInfos;
|
||||
Elf::Elf<Elf::EI_CLASS_64> decodedElf;
|
||||
uint32_t grfSize = 32U;
|
||||
|
||||
Reference in New Issue
Block a user