mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-11 08:07:19 +08:00
Query for number of local ids channels
Change-Id: I9f217d83c4399397484d56ff47b16697dd29180b Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
3c3e1a9c5c
commit
3d4051abdf
@@ -26,5 +26,12 @@ TEST(Kernel, givenPassInlineDataFalseWhenCallingIsInlineDataRequiredThenFalseIsR
|
||||
EXPECT_FALSE(kernel.isInlineDataRequired());
|
||||
}
|
||||
|
||||
TEST(Kernel, whenGettingLocalIdsChannelNumberThenCorrectValueIsReturned) {
|
||||
Mock<Kernel> kernel;
|
||||
|
||||
kernel.descriptor.kernelAttributes.numLocalIdChannels = 3;
|
||||
EXPECT_EQ(3u, kernel.getNumLocalIdChannels());
|
||||
}
|
||||
|
||||
} // namespace ult
|
||||
} // namespace L0
|
||||
|
||||
Reference in New Issue
Block a user