Closed SimeonEhrig closed 2 years ago
I found the reason, see here: https://github.com/alpaka-group/vikunja/pull/40#issuecomment-951825425
If it should work, it needs some extra work. At the moment, lambdas and structs with operator() function are fine. Therefore I will not support plain functions for the moment.
If I use an annotated function together with
vikunja::reduce
it is only working with CPU backends but not the CUDA backend (HIP not testet). It compiles, but I get an runtime error.If I replace the function with a lambda, everything is fine.