From 9125a2c4c5d47e39ae5c226d5c24aaee3d19c13c Mon Sep 17 00:00:00 2001 From: "Sarnie, Nick" Date: Fri, 18 Jul 2025 12:16:44 -0700 Subject: [PATCH 1/2] [SYCL][ESIMD] Fix warning in header Signed-off-by: Sarnie, Nick --- sycl/include/sycl/ext/intel/esimd/detail/types_elementary.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sycl/include/sycl/ext/intel/esimd/detail/types_elementary.hpp b/sycl/include/sycl/ext/intel/esimd/detail/types_elementary.hpp index 85848581b9d95..f707bb0065da0 100644 --- a/sycl/include/sycl/ext/intel/esimd/detail/types_elementary.hpp +++ b/sycl/include/sycl/ext/intel/esimd/detail/types_elementary.hpp @@ -112,7 +112,7 @@ static inline constexpr bool is_clang_vector_type_v = template struct vector_element_type; -template struct vector_element_type> { +template struct vector_element_type> { using type = T; }; From 210413341b611f29eaa6c4de3f51536aaf0281cb Mon Sep 17 00:00:00 2001 From: "Sarnie, Nick" Date: Fri, 18 Jul 2025 13:17:52 -0700 Subject: [PATCH 2/2] fix test Signed-off-by: Sarnie, Nick --- sycl/test/self-contained-headers/lit.local.cfg | 3 --- 1 file changed, 3 deletions(-) diff --git a/sycl/test/self-contained-headers/lit.local.cfg b/sycl/test/self-contained-headers/lit.local.cfg index b15ee42737c2c..767afc0f1b74e 100644 --- a/sycl/test/self-contained-headers/lit.local.cfg +++ b/sycl/test/self-contained-headers/lit.local.cfg @@ -7,9 +7,6 @@ config.test_format = SYCLHeadersTest() # standalone. `os.path.join` is required here so the filtering works # cross-platform config.sycl_headers_xfail = [ - os.path.join( - "sycl", "ext", "intel", "esimd", "detail", "types_elementary.hpp" - ), # FIXME: remove this rule when the header is moved to the clang project os.path.join( "sycl", "stl_wrappers", "__sycl_cmath_wrapper_impl.hpp"