Support complex numbers in sycl::reduction #5477
Labels
confirmed
enhancement
New feature or request
spec extension
All issues/PRs related to extensions specifications
The sycl_ext_oneapi_complex_algorithms extension adds support for
std::complex
to algorithms likereduce
andreduce_over_group
.During review of #5394, it became clear that adding support for
std::complex
tosycl::known_identity
would have two benefits:known_identity
could be used for all supported typesstd::complex
to be used bysycl::reduction
without the user passing an explicit identityOpening this issue to gauge interest in the idea, and for discussion with reduction implementers (e.g. @v-klochkov) regarding feasibility of extending
known_identity
in this way.The text was updated successfully, but these errors were encountered: