-
Notifications
You must be signed in to change notification settings - Fork 130
[SYCL] Add tests for user-defined reductions extension #1395
[SYCL] Add tests for user-defined reductions extension #1395
Conversation
Spec: intel/llvm#7202 Implementation: intel/llvm#7436
/verify with intel/llvm#7436 |
/verify with intel/llvm#7587 |
/verify with intel/llvm#7587 |
assert(output[3] == std::reduce(input.begin(), input.end(), init, binary_op)); | ||
} | ||
|
||
int main() { |
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.
Please add a test with reduce over sub_group when one (or even several) WG(s) contain(s) several SGs. Might be done in another PR. The main thing I want is to use such a test as an example showing that even for reduce over SG the size of the temporary memory depends on WG size (unless we can allocate private memory for the scratchpad somehow and then use sg shuffles in the implementation).
InputT *first = in.get_pointer(); | ||
InputT *last = first + N; |
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.
Non-pointer iterators seem to be untested still.
@dm-vodopyanov, new test fails on CUDA and HIP . Does it make sense disable it there? |
Test was just added in intel#1395 and fails on these platforms
Test was just added in #1395 and fails on these platforms
Auto pulldown and update tc files for xmain-cand branch on 20221117
…uite#1429) Test was just added in intel/llvm-test-suite#1395 and fails on these platforms
Spec: intel/llvm#7202
Implementation: intel/llvm#7587