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.
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.
The moment, only functors with the signature
data operator()(data result, data item)
for reductions allowed. The STL allowsreturnData operator()(returnData result, data item)
and this should be also possible with vikunja.