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

forward fill! for views of OffsetArrays? #321

Open
simeonschaub opened this issue Jan 11, 2023 · 0 comments
Open

forward fill! for views of OffsetArrays? #321

simeonschaub opened this issue Jan 11, 2023 · 0 comments

Comments

@simeonschaub
Copy link

Would it be possible to forward fill!(a::SubArray{T, N, <:OffsetArray}, x) to fill!(view(parent(parent(a)), ...), x)? I'm having issues because I want to fill a view of an OffsetArray backed by a CuArray, but currently this tries to use the fallback definition in Base which requires scalar indexing.

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

1 participant