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

Prototype: Implement vikunja memObj to abstract input and output data of algorithm #88

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

Conversation

SimeonEhrig
Copy link
Member

The vikunja::memObj should allow:

  • Using alpaka::Buf and alpaka::View native instead raw pointers
  • reduce the number of arguments of algorithm (instead begin pointer and size only use a input memObj, which contains the size, dimension ...)
  • Allow to implement only one function definition for an algorithm and support different types for the input and output memory, such alpaka::Buf, alpaka::View, raw pointer, std::Iterator ...
  • Allow to add extra type information, such the memory visibility
    • allows to implement a static compile time check, if the used accelerator can access the memory, e.g. if the memory is on the GPU, if you want to use the GPU for calculation
    • improve interface of algorithm through type deduction

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.

None yet

2 participants