math/clad 2.4_1 FreeBSD
Automatic differentiation for C/C++
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
af901a43f2- License
- LGPL3
- Categories
- math
- Package size
- 667.4 KiB, 4700.9 KiB installed
Description
Clad enables automatic differentiation (AD) for C++. It is based on LLVM compiler infrastructure and is a plugin for Clang compiler. Clad is based on source code transformation. Given C++ source code of a mathematical function, it can automatically generate C++ code for computing derivatives of the function. It supports both forward-mode and reverse-mode AD.Clad has extensive coverage of modern C++ features and a robust fallback and recovery system in place.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | math/clad | 2.4_1 |
| DragonFly | math/clad | 1.5 |
Install
Binary package:
pkg install clad
From the ports tree:
cd /usr/ports/math/clad/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= clad>0:math/clad
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.4_1 | 2.4_1 | - | - | 2.4_1 |
| FreeBSD:14:quarterly | 2.4 | 2.4 | n/a | - | 2.4 |
| FreeBSD:15:latest | 2.4_1 | 2.4_1 | n/a | - | 1.8 |
| FreeBSD:15:quarterly | 2.4 | 2.4 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.4_1 | 2.4_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Test 1
kokkos>0: devel/kokkos
The full lists below include those, and their dependencies in turn.
Build dependencies 18
Run dependencies 3
No port depends on this one.
Configuration
No options to configure.
- USES
- cmake:testing llvm:build,run localbase
- Service scripts
- none
Files
pkg-plist 47
- include/clad/Differentiator/Array.h
- include/clad/Differentiator/ArrayExpression.h
- include/clad/Differentiator/ArrayRef.h
- include/clad/Differentiator/BaseForwardModeVisitor.h
- include/clad/Differentiator/BuiltinDerivatives.h
- include/clad/Differentiator/CladConfig.h
- include/clad/Differentiator/CladUtils.h
- include/clad/Differentiator/CladtorchBuiltins.h
- include/clad/Differentiator/Compatibility.h
- include/clad/Differentiator/DerivativeBuilder.h
- include/clad/Differentiator/DerivedFnCollector.h
- include/clad/Differentiator/DerivedFnInfo.h
- include/clad/Differentiator/DiffMode.h
- include/clad/Differentiator/DiffPlanner.h
- include/clad/Differentiator/Differentiator.h
- include/clad/Differentiator/DynamicGraph.h
- include/clad/Differentiator/ErrorEstimator.h
- include/clad/Differentiator/ExternalRMVSource.h
- include/clad/Differentiator/FunctionTraits.h
- include/clad/Differentiator/HessianModeVisitor.h
- include/clad/Differentiator/KokkosBuiltins.h
- include/clad/Differentiator/Matrix.h
- include/clad/Differentiator/MultiplexExternalRMVSource.h
- include/clad/Differentiator/NumericalDiff.h
- include/clad/Differentiator/ParseDiffArgsTypes.h
- include/clad/Differentiator/PushForwardModeVisitor.h
- include/clad/Differentiator/RestoreTracker.h
- include/clad/Differentiator/ReverseModeForwPassVisitor.h
- include/clad/Differentiator/ReverseModeVisitor.h
- include/clad/Differentiator/ReverseModeVisitorDirectionKinds.h
- include/clad/Differentiator/STLBuiltins.h
- include/clad/Differentiator/Sins.h
- include/clad/Differentiator/StmtClone.h
- include/clad/Differentiator/Tape.h
- include/clad/Differentiator/ThrustBuiltins.h
- include/clad/Differentiator/ThrustDerivatives.h
- include/clad/Differentiator/Timers.h
- include/clad/Differentiator/VectorForwardModeVisitor.h
- include/clad/Differentiator/VectorPushForwardModeVisitor.h
- include/clad/Differentiator/Version.h
- include/clad/Differentiator/Version.inc
- include/clad/Differentiator/VisitorBase.h
- include/clad/tools/ClangBackendPlugin.h
- include/clad/tools/ClangPlugin.h
- lib/clad.so
- lib/cmake/clad/AddClad.cmake
- @dir include/cladtorch
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| vgvassilev-clad-v2.4_GH0.tar.gz | 1.420962e+06 | 69502d31bc4f399e696652373e6c77ded5f015c9639fce0c177ad98b207337e9 |