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.
At the moment, the argument of a functor a pass as const copy. I should look in the different compiler and check, how good it can be optimized and if it is necessary, optimize it (maybe const references).
At the moment, the argument of a functor a pass as const copy. I should look in the different compiler and check, how good it can be optimized and if it is necessary, optimize it (maybe const references).