Skip to content

cudaconvert for closures #67

@vchuravy

Description

@vchuravy

A flatten broadcast is no longer amendable to cudaconvert since there is a closure involved (see SciML/RecursiveArrayTools.jl#40)

https://github.com/JuliaLang/julia/blob/26b6a5811c464bd66a371ddb341df140c677a2a3/base/broadcast.jl#L307-L313

julia> x.body
getfield(Base.Broadcast, Symbol("##1#2")){bc,makeargs} where makeargs

I don't know if it is feasible for us to define a version of cudaconvert that could inspect a closure and apply cudaconvert to its fields

Metadata

Metadata

Assignees

No one assigned

    Labels

    cuda kernelsStuff about writing CUDA kernels.enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions