Skip to content

Commit

Permalink
Merge pull request #879 from lbushi25/SYCL-2020
Browse files Browse the repository at this point in the history
Add test for value_type alias in vector_api
  • Loading branch information
bader authored Mar 21, 2024
2 parents 529d19f + 4043316 commit 7b5332e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/vector_api/generate_vector_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
vector_element_type_template = Template("""
CHECK(std::is_same_v<typename sycl::vec<${type}, ${size}>::element_type, ${type}>);
sycl::vec<${type}, ${size}> vec;
CHECK(std::is_same_v<typename sycl::vec<${type}, ${size}>::value_type, ${type}>);
CHECK(std::is_same_v<typename decltype(
vec.template swizzle<${swizIndexes}>())::element_type, ${type}>);
""")
Expand Down

0 comments on commit 7b5332e

Please sign in to comment.