summaryrefslogtreecommitdiff
path: root/ggml-cuda/cpy.cuh
diff options
context:
space:
mode:
Diffstat (limited to 'ggml-cuda/cpy.cuh')
-rw-r--r--ggml-cuda/cpy.cuh7
1 files changed, 7 insertions, 0 deletions
diff --git a/ggml-cuda/cpy.cuh b/ggml-cuda/cpy.cuh
new file mode 100644
index 00000000..f0b2c453
--- /dev/null
+++ b/ggml-cuda/cpy.cuh
@@ -0,0 +1,7 @@
+#include "common.cuh"
+
+#define CUDA_CPY_BLOCK_SIZE 32
+
+void ggml_cuda_cpy(ggml_backend_cuda_context & ctx, const ggml_tensor * src0, ggml_tensor * src1);
+
+void ggml_cuda_dup(ggml_backend_cuda_context & ctx, ggml_tensor * dst);