alpaka-group / vikunja

Vikunja is a performance portable algorithm library that defines functions operating on ranges of elements for a variety of purposes . It supports the execution on multi-core CPUs and various GPUs. Vikunja uses alpaka to implement platform-independent primitives such as reduce or transform.
https://vikunja.readthedocs.io/en/latest/
Mozilla Public License 2.0
14 stars 5 forks source link

Improve the API of reduce #52

Open SimeonEhrig opened 2 years ago

SimeonEhrig commented 2 years ago

The moment, only functors with the signature data operator()(data result, data item) for reductions allowed. The STL allows returnData operator()(returnData result, data item) and this should be also possible with vikunja.