mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Add -all on the begining of extensionsList
-all resets all compiler settings. Change-Id: I8eec4beffa27673918d741f4b0d9d894f40a2cee
This commit is contained in:
@@ -82,7 +82,7 @@ TEST_F(PlatformTest, PlatformGetCompilerExtensions) {
|
||||
pPlatform->initialize(numPlatformDevices, platformDevices);
|
||||
compilerExtensions = pPlatform->getCompilerExtensions();
|
||||
|
||||
EXPECT_THAT(compilerExtensions, ::testing::HasSubstr(std::string("-cl-ext=+cl")));
|
||||
EXPECT_THAT(compilerExtensions, ::testing::HasSubstr(std::string("-cl-ext=-all,+cl")));
|
||||
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")));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user