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

Add missing transform unit tests #6

Closed DerWaldschrat closed 2 years ago

DerWaldschrat commented 5 years ago

And create test for 2-input-iterator tuple

DerWaldschrat commented 5 years ago

By now, there is only a unit test for the single-input iterator transform, in-place transform. There needs to be an out-of-place test for the single-input iterator transform, as well as both in-place and out-of-place tests for the double-input iterator transform.

This seems like a simple task, but it would be desirable to have a common code-base for all of the four cases instead of copying the code three times and making the appropriate changes.

SimeonEhrig commented 2 years ago

done in #40