Skip to content

Commit 8154317

Browse files
authored
[SYCL][ESIMD] Fix warning in header (#19519)
We can't use the alias here, we need to use the original type. Also it fixed some self contained header test for some reason so remove the XFAIL for that. --------- Signed-off-by: Sarnie, Nick <[email protected]>
1 parent 65264b6 commit 8154317

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

sycl/include/sycl/ext/intel/esimd/detail/types_elementary.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ static inline constexpr bool is_clang_vector_type_v =
112112

113113
template <class T> struct vector_element_type;
114114

115-
template <class T, int N> struct vector_element_type<vector_type_t<T, N>> {
115+
template <class T, int N> struct vector_element_type<raw_vector_type<T, N>> {
116116
using type = T;
117117
};
118118

sycl/test/self-contained-headers/lit.local.cfg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ config.test_format = SYCLHeadersTest()
77
# standalone. `os.path.join` is required here so the filtering works
88
# cross-platform
99
config.sycl_headers_xfail = [
10-
os.path.join(
11-
"sycl", "ext", "intel", "esimd", "detail", "types_elementary.hpp"
12-
),
1310
# FIXME: remove this rule when the header is moved to the clang project
1411
os.path.join(
1512
"sycl", "stl_wrappers", "__sycl_cmath_wrapper_impl.hpp"

0 commit comments

Comments
 (0)