Vassil Vassilev

Results 65 issues of Vassil Vassilev

When clad visits the google benchmark headers we get tons of errors. For example: ```diff diff --git a/benchmark/Simple.cpp b/benchmark/Simple.cpp index 5787d2b..30b1475 100644 --- a/benchmark/Simple.cpp +++ b/benchmark/Simple.cpp @@ -1,8 +1,9 @@...

This patch tries to fix the PR benchmark results comparisons as we currently compare the baseline against the baseline. It adds more robust logic for after-merge checks where we fail...

When we know the loop size and conditions we can fuse the forward and the reverse passes and avoid using any tape.

This gives us a great deal of coverage. Clang has well-developed assert system which often can detect malformed AST. This is very essential for clad as until today I would...

```bash ./bin/cling -fplugin=etc/cling/plugins/lib/clad.so -I /home/vvassilev/workspace/builds/scratch/cling-build/builddir/etc/cling/plugins/include/ [cling]$ #include ``` Shows: ```cling: /home/vvassilev/workspace/builds/scratch/cling-build/cling-src/tools/cling/lib/Interpreter/Transaction.cpp:173: void cling::Transaction::forceAppend(cling::Transaction::DelayCallInfo): Assertion `oldDCI != DCI && "Duplicates?!"' failed. #0 0x0000555557d64bc3 llvm::sys::PrintStackTrace(llvm::raw_ostream&) /home/vvassilev/workspace/builds/scratch/cling-build/cling-src/lib/Support/Unix/Signals.inc:533:0 #1 0x0000555557d64c56 PrintStackTraceSignalHandler(void*) /home/vvassilev/workspace/builds/scratch/cling-build/cling-src/lib/Support/Unix/Signals.inc:594:0 #2 0x0000555557d62b30...

```cpp #include "clad/Differentiator/Differentiator.h" double mysin(double x) { return std::sin(x); } auto g = clad::differentiate(mysin); ``` Outputs: ``` T.cpp:12:42: warning: function 'sin_darg0' was not differentiated because clad failed to differentiate it...