aboutsummaryrefslogtreecommitdiff
path: root/ad-dual.cabal
diff options
context:
space:
mode:
authorTom Smeding <t.j.smeding@uu.nl>2025-02-23 21:44:23 +0100
committerTom Smeding <t.j.smeding@uu.nl>2025-02-23 21:44:23 +0100
commit5f7a81acc7f75415d62dac86c5b50c848ab15341 (patch)
tree641ed54ce426ed8a1d9a5da12a9cde512b32bedc /ad-dual.cabal
parenta17bd53598ee5266fc3a1c45f8f4bb4798dc495e (diff)
Optimise by backpropagating scalar computation in C
Diffstat (limited to 'ad-dual.cabal')
-rw-r--r--ad-dual.cabal3
1 files changed, 3 insertions, 0 deletions
diff --git a/ad-dual.cabal b/ad-dual.cabal
index fe14d31..9880744 100644
--- a/ad-dual.cabal
+++ b/ad-dual.cabal
@@ -16,6 +16,8 @@ library
Numeric.ADDual
Numeric.ADDual.Internal
other-modules:
+ c-sources: cbits/backprop.c
+ cc-options: -O3 -Wall -Wextra -std=c99
build-depends:
transformers,
vector
@@ -54,6 +56,7 @@ benchmark bench
ad-dual,
ad-dual-examples,
ad,
+ clock,
criterion,
deepseq,
vector