aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/kann
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-08-04 14:17:01 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-08-04 14:17:01 +0100
commitd7d71002117e4ec30d96ca91c54f971b8e835325 (patch)
tree06795869dfe3d09f95572d78264f947271c34e29 /contrib/kann
parent98591e36dbdfa483130d200dbe3423611dfbab81 (diff)
downloadrspamd-d7d71002117e4ec30d96ca91c54f971b8e835325.tar.gz
rspamd-d7d71002117e4ec30d96ca91c54f971b8e835325.zip
[Project] Add linalg ffi library for prototyping
Diffstat (limited to 'contrib/kann')
-rw-r--r--contrib/kann/kautodiff.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/kann/kautodiff.h b/contrib/kann/kautodiff.h
index a2c648835..e51176c84 100644
--- a/contrib/kann/kautodiff.h
+++ b/contrib/kann/kautodiff.h
@@ -102,7 +102,7 @@ void kad_delete(int n, kad_node_t **a); /* deallocate a compiled/linearized grap
/**
* Compute the value at a node
- *
+ *
* @param n number of nodes
* @param a list of nodes
* @param from compute the value at this node, 0<=from<n
@@ -243,4 +243,7 @@ static inline int kad_len(const kad_node_t *p) /* calculate the size of p->x */
return n;
}
+/* Additions by Rspamd */
+void kad_sgemm_simple(int trans_A, int trans_B, int M, int N, int K, const float *A, const float *B, float *C);
+
#endif