summaryrefslogtreecommitdiff
path: root/llama.cpp/ggml/src/ggml-cuda/arange.cuh
diff options
context:
space:
mode:
Diffstat (limited to 'llama.cpp/ggml/src/ggml-cuda/arange.cuh')
-rw-r--r--llama.cpp/ggml/src/ggml-cuda/arange.cuh5
1 files changed, 5 insertions, 0 deletions
diff --git a/llama.cpp/ggml/src/ggml-cuda/arange.cuh b/llama.cpp/ggml/src/ggml-cuda/arange.cuh
new file mode 100644
index 0000000..41e74fd
--- /dev/null
+++ b/llama.cpp/ggml/src/ggml-cuda/arange.cuh
@@ -0,0 +1,5 @@
+#include "common.cuh"
+
+#define CUDA_ARANGE_BLOCK_SIZE 256
+
+void ggml_cuda_op_arange(ggml_backend_cuda_context & ctx, ggml_tensor * dst);