Revert "Revert "Expose spirv extensions""

This reverts commit 469fe40072.

Change-Id: I8b634ef05a3b7e4e6abb05b42eacae24b7871632
This commit is contained in:
Cetnerowski, Adam
2018-12-17 02:03:08 -07:00
committed by sys_ocldev
parent 8ec072d39c
commit 6b8d8cbcbb
4 changed files with 31 additions and 0 deletions

View File

@@ -217,6 +217,9 @@ TEST_F(PlatformTest, givenSupportingCl21WhenPlatformSupportsFp64ThenFillMatching
if (hwInfo->capabilityTable.clVersionSupport > 20) {
EXPECT_THAT(compilerExtensions, ::testing::HasSubstr(std::string("cl_khr_subgroups")));
EXPECT_THAT(compilerExtensions, ::testing::HasSubstr(std::string("cl_khr_il_program")));
EXPECT_THAT(compilerExtensions, ::testing::HasSubstr(std::string("cl_intel_spirv_side_avc_motion_estimation")));
EXPECT_THAT(compilerExtensions, ::testing::HasSubstr(std::string("cl_intel_spirv_media_block_io")));
EXPECT_THAT(compilerExtensions, ::testing::HasSubstr(std::string("cl_intel_spirv_subgroups")));
}
if (hwInfo->capabilityTable.ftrSupportsFP64) {