Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Enzyme Test #825

Draft
wants to merge 9 commits into
base: development
Choose a base branch
from
Draft

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented Feb 5, 2025

  • doc a working SW stack of Enzyme
  • doc both work modes (single TU & LLD/LTO)
  • work around variant issue for now
  • disable beam monitor and profiler for now
  • check if it is safe to ignore AMReX globals like ... via -enzyme-globals-default-inactive=1 (see this and docs)
  • not clear if MFIter logic in AMReX can be expressed in a single TU rn with AMReX not supporting unity builds yet
  • continue more with LLDEnzyme...

@ax3l ax3l added the component: third party Changes in ImpactX that reflect a change in a third-party library label Feb 5, 2025
ax3l added 2 commits February 4, 2025 21:16
Still buggy to get constent LLVM/LLD 16 env path.
Maybe retry with developer docker container.
@ax3l ax3l force-pushed the topic-enzyme-test branch from 0de939e to 382bfd1 Compare February 5, 2025 05:18
ax3l added 3 commits February 4, 2025 22:10
Enzyme got stuck there first.
Compiles faster to first error.
Have to point `/usr/bin/ld.lld` to LLVM 16 instead of 18 (default)
ax3l added 3 commits February 4, 2025 23:39
AMReX globals such as `amrex::ParticleContainerBase::tile_size`:
```
error: Enzyme: cannot compute with global variable that doesn't have marked shadow global
@_ZN5amrex21ParticleContainerBase9tile_sizeE = external local_unnamed_addr global %"class.amrex::IntVectND", align 4
...
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: third party Changes in ImpactX that reflect a change in a third-party library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant