mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 21:27:04 +08:00
Don't generate local ids if not needed
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
dab131daa0
commit
98eb086160
@@ -71,6 +71,7 @@ TEST_F(KernelImpSetGroupSizeTest, WhenCalculatingLocalIdsThenGrfSizeIsTakenFromC
|
||||
Mock<Kernel> mockKernel;
|
||||
Mock<Module> mockModule(this->device, nullptr);
|
||||
mockKernel.descriptor.kernelAttributes.simdSize = 1;
|
||||
mockKernel.descriptor.kernelAttributes.numLocalIdChannels = 3;
|
||||
mockKernel.module = &mockModule;
|
||||
auto grfSize = mockModule.getDevice()->getHwInfo().capabilityTable.grfSize;
|
||||
uint32_t groupSize[3] = {2, 3, 5};
|
||||
|
||||
Reference in New Issue
Block a user