Skip to content

Missing S keyword for opRestriction #323

@nHackel

Description

@nHackel

Hello, I've run into an issue where the opRestriction and in turn the opExtension constructors don't have an S keyword argument. While the operator on its own works with GPU arrays, this causes an issue when trying to build composite ops for a GPU:

julia> using LinearOperators, CUDA

julia> x = CUDA.rand(256);

julia> op = opRestriction(1:128, 256);

julia> op * x # works

julia> (op * opDiagonal(x)) * x # fails

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