From 501c987b0be5bb8b742335ec61dc3602a6f8baae Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Thu, 30 Oct 2025 17:40:02 +0000 Subject: [PATCH] [clad] Bump to clad v2.2. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Clad 2.2, delivers improvements to differentiation pipelines, feature coverage, and language compatibility. It now supports clang versions 11–21, includes better handling of pointer, tensor, and reference types, and adds conversion operator and `std::reference_wrapper` support. Forward mode gains experimental OpenMP differentiation, while reverse mode introduces loop checkpointing, elidable reverse passes, and enhanced handling of complex expressions and memory operations. CUDA support expands with new Thrust operations, device vector support, and a logistic regression demo. The release also improves thread safety through lock-controlled tape access, refines error handling and diagnostics, and simplifies attribute-based memory management. --- 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 a0eb7ceead096..79e1cd41d23d1 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.1) + list(APPEND _clad_extra_settings GIT_TAG v2.2) endif() ## list(APPEND _clad_patches_list "patch1.patch" "patch2.patch")