Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterTh committed Dec 21, 2023
1 parent b979841 commit 3853371
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/simsycl/sycl/vec.hh
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,10 @@ class alignas(detail::vec_alignment_v<DataT, NumElements>) vec {

constexpr static int num_storage_elems = NumElements == 3 ? 4 : NumElements;

// Workaround for friend templates in earlier MSVC versions; TODO: remove when we drop support for them
#if defined(_MSC_VER)
public:
#endif
DataT m_elems[num_storage_elems]{};
}; // namespace simsycl::sycl

Expand Down

0 comments on commit 3853371

Please sign in to comment.