-
Notifications
You must be signed in to change notification settings - Fork 5
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
base: master
Are you sure you want to change the base?
Transform Iterator #72
Conversation
Co-authored-by: Bernhard Manfred Gruber <[email protected]>
…' into constant-iterator
fixed constant iterator integration test
using iterator_category = std::random_access_iterator_tag; | ||
|
||
using TInputIteratorDeref = decltype(*std::declval<TInputIterator>()); | ||
using AccObjPtr = AccObj*; |
There was a problem hiding this comment.
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.
No tests being done with the accelerator yet
Should also add tests with functor objects that implement operator() and lambdas