Skip to content

Conversation

@AntonReinhard
Copy link

No tests being done with the accelerator yet
Should also add tests with functor objects that implement operator() and lambdas

using iterator_category = std::random_access_iterator_tag;

using TInputIteratorDeref = decltype(*std::declval<TInputIterator>());
using AccObjPtr = AccObj*;
Copy link
Member

@SimeonEhrig SimeonEhrig Jan 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recognized, there is a big problem. At the moment, I don't know a way to determine the Acc type one the host side, before the algorithm is running. The concrete Acc type is injected by alpaka. Therefore, the type is first available, if the functor is called. I need to discuss the problem with the alpaka maintainer. Therefore, I recommend to implement the transform iterator without support for the acc object at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants