mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Correct CL_DEVICE_NON_UNIFORM_WORK_GROUP_SUPPORT value
Related-To: NEO-5331 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
993ea27e25
commit
e9b7222136
@ -248,6 +248,7 @@ TEST_F(DeviceGetCapsTest, WhenCreatingDeviceThenCapsArePopulatedCorrectly) {
|
||||
EXPECT_EQ(64u, caps.preferredGlobalAtomicAlignment);
|
||||
EXPECT_EQ(64u, caps.preferredLocalAtomicAlignment);
|
||||
EXPECT_EQ(64u, caps.preferredPlatformAtomicAlignment);
|
||||
EXPECT_TRUE(caps.nonUniformWorkGroupSupport);
|
||||
|
||||
auto expectedPreferredWorkGroupSizeMultiple = hwHelper.isFusedEuDispatchEnabled(*defaultHwInfo)
|
||||
? CommonConstants::maximalSimdSize * 2
|
||||
|
@ -647,7 +647,7 @@ TEST(GetDeviceInfo, WhenQueryingNonUniformWorkGroupSupportThenProperValueIsRetur
|
||||
EXPECT_EQ(CL_SUCCESS, retVal);
|
||||
EXPECT_EQ(sizeof(cl_bool), paramRetSize);
|
||||
|
||||
cl_bool expectedNonUniformGroupSupport = deviceFactory.rootDevices[0]->areOcl21FeaturesSupported() ? CL_TRUE : CL_FALSE;
|
||||
cl_bool expectedNonUniformGroupSupport = CL_TRUE;
|
||||
EXPECT_EQ(expectedNonUniformGroupSupport, nonUniformGroupSupport);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user