Skip to content

Overload rechunk from DiskArrays #940

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

felixcremer
Copy link
Collaborator

This is dependent on the corresponding PR from DiskArrays JuliaIO/DiskArrays.jl#237
This simply forwards the functions to the parent of the DimArray.

@@ -17,6 +17,15 @@ import DiskArrays
modify(A -> DiskArrays.cache(A; kw...), x)
end

@static if isdefined(DiskArrays, :isdisk)
DiskArrays.isdisk(dd::AbstractDimArray) = DiskArrays.isdisk(parent(dd))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should isdisk on a stack check any(isdisk, layers(stack))?

@rafaqz rafaqz closed this Mar 7, 2025
@rafaqz rafaqz reopened this Mar 7, 2025
@rafaqz rafaqz changed the title Overload isdisk and rechunk from DiskArrays Overload rechunk from DiskArrays Apr 2, 2025
@asinghvi17
Copy link
Collaborator

asinghvi17 commented May 4, 2025

bump @felixcremer (at least on the stack bit, looks like that PR is still frozen and something we should address on Thursday / Wednesday)

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

Successfully merging this pull request may close these issues.

3 participants