Skip to content

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.

2 participants