Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transform Iterator #72

Draft
wants to merge 20 commits into
base: master
Choose a base branch
from

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