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

Alpaka container and algorithm library #102

Open
erikzenker opened this issue Sep 15, 2015 · 3 comments
Open

Alpaka container and algorithm library #102

erikzenker opened this issue Sep 15, 2015 · 3 comments

Comments

@erikzenker
Copy link
Member

A container somehow similar to the thrust::device vectors would reduce are code base again and should make
algorithms on its memory more safe. For HASEonGPU we only need a container equal to std::array. Therefore no dynamic size increase is necessary.

For the algorithm side, we need a reduce and exclusive scan/prefix sum algorithm. Based on alpaka buffers and a wrapper for the container would be perfect 😸

I would suggest to create a separate repository for this containers and algorithms. Name suggestions ? 🐯

@slizzered
Copy link
Contributor

Is it possible to use thrust directly as the implementation for the CUDA backend? Or would that possibly interfere with the use of alpaka buffers?

As for naming suggestions: Since it emulates the "look and feel" of the STL, what about "Alpaka Standard Template Library [ASTL]", with a namespace alp::

@erikzenker
Copy link
Member Author

I am still not sure about using thrust together with alpaka:

  • Thrust itself does only support a single accelerator at a time
  • Thrust could use an alpaka backend, but how much work is that ?
  • Using thrust would be only a temporary solution in my eyes

we could rewrite thrust containers and algorithms we need to alp.

@erikzenker
Copy link
Member Author

Alp sounds create, what do you think about creating a gist and collecting the interface.

@slizzered slizzered added alpaka and removed alpaka labels Oct 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants