-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
TileArray is currently not an AbstractArray, meaning many methods need to be explicitly defined (Base.eltype, Base.ndims), and in kernels the only way to access the global size is through the sizes field, which would be nicer to access through Base.size and Base.size(_, i).
TileArray isn't used like a normal array, but is there anything preventing us from subtyping AbstractArray and only defining Base.size? It doesn't fit neatly into the interface since I suppose we don't care about Julia-side element access, so a custom Base.show method might also be needed for displaying it to not error.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels