Skip to content

Reduce a broadcast #268

@maleadt

Description

@maleadt

Used to work, doesn't anymore:

using CuArrays, LazyArrays
CuArrays.allowscalar(false)
a = CuArray(rand(10,3)); W = CuArray(rand(1,3));
reduce(+, @~ W .* a; init=0.0)

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