Adapt to Enzyme 0.13
Enzyme has a pending breaking release upcoming.
One notable addition is runtime activity being part of the mode now, we well as (potentially) moving whether the primal is returned as part of the mode.
Runtime activity probably makes sense to add to ADTypes, whether to return the primal, also potentially (though the latter hasn't even landed yet)
Well, if everything becomes part of the mode, I guess we're fine cause ADTypes already include the mode field in AutoEnzyme?
@wsmoses do you think we have anything to change here?
See also:
- https://github.com/EnzymeAD/Enzyme.jl/issues/1861
- https://github.com/gdalle/DifferentiationInterface.jl/issues/468
@gdalle can this be reopened. I still think it's worth adding runtime activity here or something
Why, if it is already in the mode?