diff --git a/src/internal_rules.jl b/src/internal_rules.jl index 4a4c3fb342..a2dd6ca1c2 100644 --- a/src/internal_rules.jl +++ b/src/internal_rules.jl @@ -235,10 +235,6 @@ end unsafe_store!(tapes, thunk(f, Const(idx), fargs...)[1], idx) end -@inline function pmap_fwd(idx, tapes::Ptr, thunk::ThunkTy, f::F, fargs::Vararg{Annotation, N}) where {ThunkTy, F, N} - unsafe_store!(tapes, thunk(f, Const(idx), fargs...)[1], idx) -end - function EnzymeRules.augmented_primal(config, func::Const{typeof(Enzyme.pmap)}, ::Type{Const{Nothing}}, body::BodyTy, count, args::Vararg{Annotation, N}) where {BodyTy, N} config2 = ReverseModeSplit{false, false, EnzymeRules.width(config), EnzymeRules.overwritten(config)[2:end],InlineABI}()