Skip to content

Is GC.@preserve enough? #14

@rejuvyesh

Description

@rejuvyesh

I am seeing a bunch of memory corruption in rejuvyesh/PyCallChainRules.jl#10 which go away if I wrap the tests inside GC.enable(false) and GC.enable(true). Still trying to figure out a MWE because this is not as consistent with simple use of dlpack.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions