mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Store SLM sizes per root device in Kernel
reduce usages of getDefaultKernelInfo Related-To: NEO-5001 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
09bdd2ad09
commit
be7ae13911
@ -211,8 +211,8 @@ class MockKernel : public Kernel {
|
||||
}
|
||||
}
|
||||
|
||||
void setTotalSLMSize(uint32_t size) {
|
||||
slmTotalSize = size;
|
||||
void setTotalSLMSize(uint32_t rootDeviceIndex, uint32_t size) {
|
||||
kernelDeviceInfos[rootDeviceIndex].slmTotalSize = size;
|
||||
}
|
||||
|
||||
void setKernelArguments(std::vector<SimpleKernelArgInfo> kernelArguments) {
|
||||
|
Reference in New Issue
Block a user