Align per thread data size to GRF size

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
This commit is contained in:
Krystian Chmielewski
2021-07-13 15:29:58 +00:00
committed by Compute-Runtime-Automation
parent d18172c00e
commit 1b2cfbbb1f
7 changed files with 52 additions and 7 deletions

View File

@@ -41,6 +41,7 @@ struct ProgramInfo {
std::vector<KernelInfo *> kernelInfos;
Elf::Elf<Elf::EI_CLASS_64> decodedElf;
uint32_t grfSize = 32U;
};
size_t getMaxInlineSlmNeeded(const ProgramInfo &programInfo);