summaryrefslogtreecommitdiff
path: root/llama.cpp/ggml/src/ggml-cuda/sum.cuh
diff options
context:
space:
mode:
Diffstat (limited to 'llama.cpp/ggml/src/ggml-cuda/sum.cuh')
-rw-r--r--llama.cpp/ggml/src/ggml-cuda/sum.cuh5
1 files changed, 5 insertions, 0 deletions
diff --git a/llama.cpp/ggml/src/ggml-cuda/sum.cuh b/llama.cpp/ggml/src/ggml-cuda/sum.cuh
new file mode 100644
index 0000000..8cadc37
--- /dev/null
+++ b/llama.cpp/ggml/src/ggml-cuda/sum.cuh
@@ -0,0 +1,5 @@
+#include "common.cuh"
+
+void sum_f32_cuda(ggml_cuda_pool & pool, const float * x, float * dst, const int64_t ne, cudaStream_t stream);
+
+void ggml_cuda_op_sum(ggml_backend_cuda_context & ctx, ggml_tensor * dst);