EnzymeAD / EnzymeAD/Enzyme

Enzyme is not aware of Fortran descriptors

Open
#2,822 2 comments 0 reactions 1 assignee Claimed by @joewallwork View on GitHub
enhancement fortran
Dominant language
LLVM
Stars
1.7k
Forks
188
Avg merge
1d 22h
Merged PRs (30d)
26

Description

Flang represents allocatable arrays using descriptor structs containing both differentiable and non-differentiable metadata but Enzyme isn't aware of this distinction. This means that it currently tries to differentiate with respect to implicit integer arguments that come with 'assumed shape' array arguments. This is the deeper issue underpinning #2820.

Making Enzyme aware of Fortran descriptor information would likely be greatly beneficial for improving the user experience in Fortran.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.