Enzyme
Enzyme copied to clipboard
High-performance automatic differentiation of LLVM and MLIR.
Down to 1.2k LoC of IR. Wip ```.cpp #include #include #include class SuperGeometryStatistics3D2 { private: std::map foo; double bar; public: void update() { typename std::map::const_iterator iter; for (iter = foo.begin();...
To build enzyme in debug mode I am configuring cmake as below ``` cmake .. -DCMAKE_BUILD_TYPE=Debug -DLLVM_DIR="/build/lib/cmake/llvm" ``` when I build it with `make`, I get the following error: ```...
To test Enzyme for higher orders and improve our docs I tried to follow the[ jax cookbook](https://jax.readthedocs.io/en/latest/notebooks/autodiff_cookbook.html). It fails however pretty early due to Eigen introducing some integer operation which...
Not sure if worth investigating, but while writing a test i just noticed this failure: ```.sh FAIL: Enzyme :: Enzyme/ReverseMode/ompsqloopPostOpt.ll (670 of 677) ******************** TEST 'Enzyme :: Enzyme/ReverseMode/ompsqloopPostOpt.ll' FAILED ********************...
While trying to re(pro)duce another `cannot deal with ptr that isn't arg` issue for OpenLB I ran into this assertion (using undef-fn-inactive, strict-aliasing=0, release-ta). How interesting is this to minimize,...
https://bench.gymni.ch
Apparently Tim's update didn't fix all of them @wsmoses. When compiling OpenLB while also setting globals-default-inactive, (beside of the mandatory strict-aliasing=0 and relaxing TA) the compilation succeeds (although with likely...
https://gcc.gnu.org/onlinedocs/gccint/Soft-float-library-routines.html Adding support for mul and div would be a good start. ``` Runtime Function: complex float __mulsc3 (float a, float b, float c, float d) Runtime Function: complex double...