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

Establish concept of a computing unit/device #64

Open
oschulz opened this issue May 4, 2023 · 2 comments
Open

Establish concept of a computing unit/device #64

oschulz opened this issue May 4, 2023 · 2 comments

Comments

@oschulz
Copy link

oschulz commented May 4, 2023

See #52 (closed to experiment with those concepts outside of Adapt/ArrayInterfaceCore for a while before proposing a new common scheme for computing units/devices).

Exploring this within HeterogeneousComputing.jl , this issue is intended as a reminder to bring it back into Adapt/ArrayInterfaceCore, the GPU packages and KernelAbstractions once a clean and field-tested concept is ready.

@vchuravy
Copy link
Member

vchuravy commented May 4, 2023

Have you had a chance to look at what KA 0.9 does? It might not be a complete as you want to, but right now you can adapt/allocat/synchronize w.r.t to a KA backend.

@oschulz
Copy link
Author

oschulz commented May 4, 2023

Have you had a chance to look at what KA 0.9 does? It might not be a complete as you want to, but right now you can adapt/allocat/synchronize w.r.t to a KA backend.

Yes, I love KA 0.9!

I really need the ability to derive the device from deeply nested data (may have custom data type in there) though, and I need to distinguish between multiple GPU devices. So KA 0.9 by itself won't be quite enough for the application(s) I'm working on, but it definitely helps a lot!

I hope that HeterogeneousComputing.jl will in the end contain only more "specialized" stuff, with the more basic functionality covered by Adapt, KA, etc.

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

No branches or pull requests

2 participants