-
Notifications
You must be signed in to change notification settings - Fork 233
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
Missing adapt
for sparse and CUDABackend
#2459
Comments
Hm these are the only adapt rules defined for the CUDABackend Lines 31 to 33 in d7077da
|
Is |
I added it in JuliaGPU/KernelAbstractions.jl#364 inspired by DiffEqGPU and JuliaGPU/KernelAbstractions.jl#353 Ideally it would just mean the same as |
Right, but as it stands it's not part of the public API for KA.jl users, so @hexaeder I would recommend just using |
Allright, I'll change it in my code! I probably stumbled over it by accident. |
It's a fine assumption. I should have added it to the docs at the time. |
Describe the bug
There is a difference between adapting a sparse matrix to
CuArray
vsCUDABackend
. I would expect both to return aCuSparseMatrixCSC
.To reproduce
Manifest.toml
Version info
Details on Julia:
Details on CUDA:
The text was updated successfully, but these errors were encountered: