Closed SimeonEhrig closed 2 years ago
ping @psychocoderHPC
I thought Vikunja will provide an STL compatible interface? By adding the accelerator object to the function sinatures that is no longer the case. But I can see the need for that becaues alpaka.
Originally, I planed to make the Acc object optional but I don't know how. Maybe it is coming back in the future if I have more experience.
In PIConGPU we sometime have algorithms that accept two forms of functors. Internally we check which form is callable and call it via some SFINAE.
In PIConGPU we sometime have algorithms that accept two forms of functors. Internally we check which form is callable and call it via some SFINAE.
I think this could be a great way to improve the interface. But maybe that's beyond the scope of this PR. @SimeonEhrig let's revisit this at some point in the future.