Revert "Disable cl_khr_subgroups extension"

This reverts commit 332e02ef27.

Change-Id: I913d0a00286f46b9c08913d925e1be08b31c367f
This commit is contained in:
Cetnerowski, Adam
2019-10-16 01:23:46 -07:00
committed by sys_ocldev
parent ecade0a153
commit dbad1d7081
6 changed files with 7 additions and 34 deletions

View File

@@ -77,10 +77,7 @@ TEST_F(PlatformTest, PlatformgetAsCompilerEnabledExtensionsString) {
compilerExtensions = pPlatform->peekCompilerExtensions();
EXPECT_THAT(compilerExtensions, ::testing::HasSubstr(std::string(" -cl-ext=-all,+cl")));
auto &hwHelper = HwHelper::get(platformDevices[0]->platform.eRenderCoreFamily);
auto subGroupsSupported = hwHelper.allowsIndependentForwardProgress();
if (std::string(pPlatform->getDevice(0)->getDeviceInfo().clVersion).find("OpenCL 2.1") != std::string::npos && subGroupsSupported) {
if (std::string(pPlatform->getDevice(0)->getDeviceInfo().clVersion).find("OpenCL 2.1") != std::string::npos) {
EXPECT_THAT(compilerExtensions, ::testing::HasSubstr(std::string("cl_khr_subgroups")));
}
}