Skip to content

PermutedDimsArray #10

@mcabbott

Description

@mcabbott

Does this package plan to support higher-dimensional arrays? And if so, what should the behaviour be on PermutedDimsArray? Right now:

julia> MemoryLayout(ones(10,20,30)  |> typeof)
DenseColumnMajor()

julia> MemoryLayout(PermutedDimsArray(ones(10,20,30), (1,3,2))  |> typeof)
UnknownLayout()

My context for this is JuliaGPU/CuArrays.jl#664, where these two layouts are equally good for gemm_strided_batched. But the supertypes of DenseColumnMajor all fall under AbstractIncreasingStrides, while the permuted one has strides (1, 200, 10).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions