We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
similar
When similar(::ComponentArray, l::Int) is used the resultant array is not a GPU array which breaks SciMLSensitivity + Lux on GPU. A patch is:
similar(::ComponentArray, l::Int)
Base.similar(ca::ComponentArray, l::Int64) = similar(getdata(ca), l)
The text was updated successfully, but these errors were encountered:
Add similar method. Closes #179
c62be0d
3a30a0f
No branches or pull requests
When
similar(::ComponentArray, l::Int)
is used the resultant array is not a GPU array which breaks SciMLSensitivity + Lux on GPU. A patch is:The text was updated successfully, but these errors were encountered: