-
Notifications
You must be signed in to change notification settings - Fork 743
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SYCL] Fixed-size groups and partitions are renamed to "chunks" #16151
base: sycl
Are you sure you want to change the base?
Changes from all commits
45bb32f
4abd474
fb1d33d
5e74e57
66bafee
359fc93
a19b66f
7379a88
a71d591
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,10 +20,9 @@ | |
namespace sycl { | ||
inline namespace _V1 { | ||
namespace detail { | ||
template <class T> struct is_fixed_size_group : std::false_type {}; | ||
template <class T> struct is_chunk : std::false_type {}; | ||
|
||
template <class T> | ||
inline constexpr bool is_fixed_size_group_v = is_fixed_size_group<T>::value; | ||
template <class T> inline constexpr bool is_chunk_v = is_chunk<T>::value; | ||
|
||
template <typename VecT, typename OperationLeftT, typename OperationRightT, | ||
template <typename> class OperationCurrentT, int... Indexes> | ||
|
@@ -157,7 +156,7 @@ template <typename T, int N> struct get_elem_type_unqual<vec<T, N>> { | |
template <typename VecT, typename OperationLeftT, typename OperationRightT, | ||
template <typename> class OperationCurrentT, int... Indexes> | ||
struct get_elem_type_unqual<SwizzleOp<VecT, OperationLeftT, OperationRightT, | ||
OperationCurrentT, Indexes...>> { | ||
OperationCurrentT, Indexes...>> { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Strictly speaking, there should be no unrelated formatting changes, but in this particular case it is more of a nitpicking and can be ignored. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the formatting task failed until I called clang-format -i per changed file upd: cd ../llvm &&
git diff --cached --name-only --diff-filter=ACM | grep '\.[ch]pp$'|xargs -I{} clang-format -i``` There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Topic will be resolved with next commit. The clang-format tool could be used for essential code as Alexei Sachkov has shared Previously used way is patching only the changed files but not the file regions
|
||
using type = typename get_elem_type_unqual<std::remove_cv_t<VecT>>::type; | ||
}; | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to submit this small change as a separate PR, we should be able to merge it almost immediately