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
@ -40,7 +40,7 @@ class DispatchInfoFixture : public ContextFixture, public ClDeviceFixture {
|
||||
pProgram = new MockProgram(pContext, false, toClDeviceVector(*pClDevice));
|
||||
|
||||
pKernel = new MockKernel(pProgram, MockKernel::toKernelInfoContainer(*pKernelInfo, rootDeviceIndex));
|
||||
pKernel->slmTotalSize = 128;
|
||||
pKernel->kernelDeviceInfos[rootDeviceIndex].slmTotalSize = 128;
|
||||
}
|
||||
void TearDown() override {
|
||||
delete pKernel;
|
||||
@ -56,7 +56,7 @@ class DispatchInfoFixture : public ContextFixture, public ClDeviceFixture {
|
||||
SPatchMediaVFEState *pMediaVFEstate = nullptr;
|
||||
SPatchAllocateStatelessPrintfSurface *pPrintfSurface = nullptr;
|
||||
MockProgram *pProgram = nullptr;
|
||||
Kernel *pKernel = nullptr;
|
||||
MockKernel *pKernel = nullptr;
|
||||
};
|
||||
|
||||
typedef Test<DispatchInfoFixture> DispatchInfoTest;
|
||||
|
Reference in New Issue
Block a user