clad icon indicating copy to clipboard operation
clad copied to clipboard

clad -- automatic differentiation for C/C++

Results 301 clad issues
Sort by recently updated
recently updated
newest added

Loop conditions are incorrectly differentiated in the reverse mode. Reproducible example: ```cpp #include "clad/Differentiator/Differentiator.h" #include #define show(x) std::cout

good first issue

The test of `GradientCuda.cu` was indicated as expected to fail with clang-15. The changes applied to this script in #806 will probably not have any effect on that, so the...

This PR provides the implementation of a first set of features for the automatic generation of gradients of Kokkos-based code. The content of this PR supports reverse mode of Kokkos...

Based on clad discussion #780. We assume the current computations of a Jacobian and Hessian are returned as a dense matrix. We wish to augment the API to allow sparse...

The `LIBCLAD_TIMING` environment variable seen here https://github.com/vgvassilev/clad/blob/f242077c9b386a9711cdb257b1126a07b52c5006/tools/ClangPlugin.cpp#L202-L208 needs to documented in some form Its usage is seen in the performance tests and it serves to print the timings of only...

I'm trying to integrate CLAD in my project, but I get a seemingly random crash when I do so. CLAD is built from source https://github.com/efeklisov/LiteRF-RadianceFields/blob/7934405fd2cbb58c12dc073a5aaba6439923bb01/example_tracer/example_tracer.cpp#L253 ``` [ 25%] Building CXX...

We should be able to differentiate `std::unique_ptr`, `std::shared_ptr` and `std::weak_ptr`.

As per https://github.com/llvm/llvm-project/commit/b13c8ca9ebc4bfa4a916c46ff1415d3092be136c clang moved to C++14 in version 10.

Clad fails at runtime with `Assertion _size failed` when a reference variable is declared inside a loop in reverse mode AD. Reproducible example: ```cpp #include "clad/Differentiator/Differentiator.h" #include #define show(x) std::cout