Skip to content
This repository was archived by the owner on May 27, 2021. It is now read-only.
This repository was archived by the owner on May 27, 2021. It is now read-only.

copy! methods for views with linear indices #76

@samuelpowell

Description

@samuelpowell

I have an application in which an (expensive) linear operator is implemented on the GPU. Methods such as GMRES from IterativeSolvers attempt to apply the operator to a RHS which is a view of another larger array. Since there are no copy! methods for views, a naive implementation fails.

In the case of GMRES (and one would imagine most performance critical applications), the views will be an appropriate sized column of a matrix, thus the memory is linear and the copy operation could presumably be performed without too much pain.

I am not that familiar with the SubArray architecture - would it be to implement a copy! method which accepts a view, so long as the indices are linear and the dimensions correct?

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