You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix build of dpctl with sycl nightly from 2025-01-18
The failure was caused by TwoOffsets_FixedDimStridedIndexer
not being device copyable, consequence of not being trivially
copyable, consequence of using const class members contrary to
C++ coding guidelines.
https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/avoid-const-or-ref-data-members.html
This change adheres to the guidelines by removing const qualifier
in class members.
This change also avoids unnecessary copy in constructors of
fixed-dim-strided-indexers that take container arguments by values.
0 commit comments