Skip to content

Operator Matrices applied to a Broadcast with type args #2478

@imreddyTeja

Description

@imreddyTeja

Describe the bug

When using CUDA, an operator matrix cannot be applied to a broadcast that has an arg that is a Type. I believe this is because the matrix vector multiplication method calls eltype on the broadcast, which is not inferable with CUDA.CuRefType(s)

To Reproduce

cfield.x is a scalar field

@. ᶠinterp(cfield.x^2 * eps(FT))

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions