-
Notifications
You must be signed in to change notification settings - Fork 190
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
CUDA scalar operations error on GPU in show
functions
#3770
Comments
Technically we cannot fix this problem here as long as the nodes Another solution is to re-form the nodes so that they are a plain view. This should work, it's merely laziness / convenience that we make a Another solution would be to use |
I feel like this impacts usability, especially interactive use, but it's not a bug in the sense that your simulation scripts are fine. Is it worth trying to fix this?
Maybe not. After all, executing
model.velocities.u.data
in the REPL with a GPU model produces a similar error to the one below.One nuclear option is to allow scalar operations in
show
methods, but in this particular example it's for aSubArray{OffsetVector{CuArray}}
so not a type we have control over without piracy.MWE:
produces this error when trying to show the result
This doesn't happen for regularly spaces dimensions:
because there is no data on the GPU to show
The text was updated successfully, but these errors were encountered: