/autodiff

Automatic differentiation in C++ with GPU support and applications to PDEs solved by ODIL

Primary LanguageC++MIT LicenseMIT

autodiff

Clone

git clone https://github.com/pkarnakov/autodiff.git

Requirements

  • C++17 compiler
  • CMake

Build

make

Interactive demos

These demos run interactively in the web browser through Emscripten. They solve problems for partial differential equations using ODIL.

Poisson Wave Heat Advection Advection2

To build them from source and run in a local web server do

make build_wasm
make serve

Applications

Dual

test_dual.cpp

build/test_dual

Reverse

test_reverse.cpp

build/test_reverse && make reverse_scal1.pdf

Poisson

poisson.cpp

make run_poisson
graph inferred reference

Poisson multigrid

graph inferred reference

Pages

https://pkarnakov.github.io/autodiff