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

Upstream concepts to Adapt.jl and friends #1

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

Upstream concepts to Adapt.jl and friends #1

oschulz opened this issue May 4, 2023 · 3 comments

Comments

@oschulz
Copy link
Owner

oschulz commented May 4, 2023

Reminder issue. Part of the concepts in HeterogeneousComputing should ideally be upstreamed to Adapt/ArrayInterfaceCore, KernelAbstractions and the GPU packages when ready.

See JuliaGPU/Adapt.jl#64 .

@oschulz oschulz changed the title Upstream concepts to Adapt/ArrayInterfaceCore, KernelAbstractions and GPU packages when ready. Upstream concepts to Adapt.jl and friends May 4, 2023
@vchuravy
Copy link

vchuravy commented May 4, 2023

Looking at this I would be open to take these features on for KA 0.10/1.0

We are getting closer to having KA be used by GPUArrays to provide default implementations

@oschulz
Copy link
Owner Author

oschulz commented May 4, 2023

Thanks @vchuravy! I'll be very happy to "upstream" anything you like in here.

@oschulz
Copy link
Owner Author

oschulz commented May 4, 2023

I think we should still strive to have the basic definition of a compute unit (and of what you can do with it) in a very lightweight package, though. We should be able to do things like "move this data to where that data is" in a very generic fashion in packages without taking on heavy dependencies.

While KernelAbstractions isn't a very heavy package, it's not very lightweight either (partially due to StaticArrays :-) ) and packages that don't implement kernels probably won't want to depend on KA.

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