From 53e272775255a5eaf45732314ab249b8337a3ad8 Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Wed, 25 Mar 2026 06:46:59 +0000 Subject: [PATCH] [clad] Bump clad to version 2.3 This release brings substantial improvements across both forward and reverse modes, including expanded custom derivative support, new derivatives for standard library functions like std::beta, std::expint, and std::comp_ellint, and better handling of lambdas and nested differentiation. Reverse mode gains basic OpenMP support, reduced overhead by skipping unnecessary reverse_forw passes when custom pullbacks are available, and important correctness fixes for nested Hessian computations and complex record adjoints. A major highlight is the new dual-mode tape memory system, offering an in-memory RAM-disk backend via mmap with automatic disk offloading, plus hooks for user-defined tape implementations. Error estimation has been unified with reverse mode behind a cleaner function-based interface, CUDA support is stronger thanks to compute-sanitizer integration, and nearly 40 tracked issues have been resolved. --- interpreter/cling/tools/plugins/clad/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interpreter/cling/tools/plugins/clad/CMakeLists.txt b/interpreter/cling/tools/plugins/clad/CMakeLists.txt index 79e1cd41d23d1..346ccd2ee8d27 100644 --- a/interpreter/cling/tools/plugins/clad/CMakeLists.txt +++ b/interpreter/cling/tools/plugins/clad/CMakeLists.txt @@ -74,7 +74,7 @@ if (DEFINED CLAD_SOURCE_DIR) list(APPEND _clad_extra_settings SOURCE_DIR ${CLAD_SOURCE_DIR}) else() list(APPEND _clad_extra_settings GIT_REPOSITORY https://github.com/vgvassilev/clad.git) - list(APPEND _clad_extra_settings GIT_TAG v2.2) + list(APPEND _clad_extra_settings GIT_TAG v2.3) endif() ## list(APPEND _clad_patches_list "patch1.patch" "patch2.patch")